Fix complaint about an unknown custom packet identifier

This commit is contained in:
JozsefA 2021-06-24 10:42:25 -07:00
parent 5c1f186264
commit f8e05d7f8a

View File

@ -30,6 +30,7 @@ public class SConfigureBooleanPacket {
public void execute(Supplier<NetworkEvent.Context> ctx) { public void execute(Supplier<NetworkEvent.Context> ctx) {
target.receiver.get().accept(directive); target.receiver.get().accept(directive);
ctx.get().setPacketHandled(true);
} }
} }