mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-14 19:32:17 +01:00
Fix the NBT representation of Unit (#2177)
This commit is contained in:
parent
e17689902f
commit
b3aa996e1d
@ -127,7 +127,7 @@ public interface BinaryTagSerializer<T> {
|
||||
BinaryTagSerializer<Unit> UNIT = new BinaryTagSerializer<>() {
|
||||
@Override
|
||||
public @NotNull BinaryTag write(@NotNull Unit value) {
|
||||
return EndBinaryTag.endBinaryTag();
|
||||
return CompoundBinaryTag.empty();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user