[ci skip] Removed comment

This commit is contained in:
EnZaXD 2024-01-13 07:18:19 +01:00 committed by GitHub
parent 92457695f2
commit 1f27d785dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1058,7 +1058,7 @@ public class Protocol1_8to1_7_6_10 extends AbstractProtocol<ClientboundPackets1_
map(Type.STRING); // name map(Type.STRING); // name
map(Type.BYTE, Type.VAR_INT); // mode map(Type.BYTE, Type.VAR_INT); // mode
handler(wrapper -> { handler(wrapper -> {
final int mode = wrapper.get(Type.VAR_INT, 0); // mode final int mode = wrapper.get(Type.VAR_INT, 0);
if (mode == 0/*UPDATE*/) { if (mode == 0/*UPDATE*/) {
wrapper.passthrough(Type.STRING); // objective wrapper.passthrough(Type.STRING); // objective
wrapper.write(Type.VAR_INT, wrapper.read(Type.INT)); // score wrapper.write(Type.VAR_INT, wrapper.read(Type.INT)); // score