mirror of
https://github.com/ViaVersion/ViaLegacy.git
synced 2024-12-22 16:38:16 +01:00
[ci skip] Removed comment
This commit is contained in:
parent
92457695f2
commit
1f27d785dd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user