mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-17 08:05:25 +01:00
Fixed BinaryWriter#writeNBT
This commit is contained in:
parent
571bb7a866
commit
c85e866e3c
@ -244,7 +244,7 @@ public class BinaryWriter extends OutputStream {
|
||||
|
||||
public void writeNBT(String name, NBT tag) {
|
||||
try {
|
||||
nbtWriter.writeNamed("", tag);
|
||||
nbtWriter.writeNamed(name, tag);
|
||||
} catch (IOException e) {
|
||||
// should not throw, as nbtWriter points to this PacketWriter
|
||||
e.printStackTrace();
|
||||
|
Loading…
Reference in New Issue
Block a user