mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-25 03:25:11 +01:00
fixed pending #2291 changes
This commit is contained in:
parent
91319402f3
commit
6941b48038
@ -56,7 +56,7 @@ public class BukkitEncodeHandler extends MessageToByteEncoder implements ViaHand
|
||||
}
|
||||
|
||||
} else {
|
||||
bytebuf.clear().writeBytes((ByteBuf) o);
|
||||
bytebuf.writeBytes((ByteBuf) o);
|
||||
}
|
||||
transform(bytebuf);
|
||||
}
|
||||
|
@ -35,8 +35,9 @@ public class SpongeEncodeHandler extends MessageToByteEncoder<Object> implements
|
||||
throw (Error) e.getCause();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
bytebuf.write((ByteBuf) o)
|
||||
}
|
||||
|
||||
transform(bytebuf);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user