Unnecessary null parameter

Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
TheMode 2021-12-16 00:35:30 +01:00
parent 9717e54aac
commit d18f07dcd5

View File

@ -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;