mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-28 21:15:51 +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 {
|
} else {
|
||||||
bytebuf.clear().writeBytes((ByteBuf) o);
|
bytebuf.writeBytes((ByteBuf) o);
|
||||||
}
|
}
|
||||||
transform(bytebuf);
|
transform(bytebuf);
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,9 @@ public class SpongeEncodeHandler extends MessageToByteEncoder<Object> implements
|
|||||||
throw (Error) e.getCause();
|
throw (Error) e.getCause();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
bytebuf.write((ByteBuf) o)
|
||||||
}
|
}
|
||||||
|
|
||||||
transform(bytebuf);
|
transform(bytebuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user