mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-27 03:27:56 +01:00
Unnecessary null parameter
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
9717e54aac
commit
d18f07dcd5
@ -44,7 +44,7 @@ public class Tag<T> {
|
||||
} catch (NBTException e) {
|
||||
MinecraftServer.getExceptionManager().handleException(e);
|
||||
}
|
||||
}, null);
|
||||
});
|
||||
|
||||
/**
|
||||
* Handles the complete tag holder compound.
|
||||
@ -55,7 +55,7 @@ public class Tag<T> {
|
||||
public static final Tag<NBTCompound> NBT = new Tag<>(null, NBTCompoundLike::toCompound, (original, updated) -> {
|
||||
original.clear();
|
||||
updated.forEach(original::set);
|
||||
}, null);
|
||||
});
|
||||
|
||||
private final String key;
|
||||
private final Function<NBTCompoundLike, T> readFunction;
|
||||
|
Loading…
Reference in New Issue
Block a user