Fix libzontreck's packets not being functional
This commit is contained in:
parent
f039eb2abf
commit
965bea2982
2 changed files with 3 additions and 1 deletions
|
@ -37,6 +37,8 @@ public class ModMessages {
|
|||
.serverAcceptedVersions(s->true)
|
||||
.simpleChannel();
|
||||
|
||||
INSTANCE=net;
|
||||
|
||||
|
||||
net.messageBuilder(S2CPlaySoundPacket.class, PACKET_ID.getAndIncrement(), NetworkDirection.PLAY_TO_CLIENT)
|
||||
.decoder(S2CPlaySoundPacket::new)
|
||||
|
|
Reference in a new issue