Fix a packet
This commit is contained in:
parent
bff000cd41
commit
6df3035a92
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ public class ModMessages {
|
|||
net.messageBuilder(S2CUpdateHearts.class, id(), NetworkDirection.PLAY_TO_CLIENT)
|
||||
.decoder(S2CUpdateHearts::new)
|
||||
.encoder(S2CUpdateHearts::toBytes)
|
||||
.consumer(S2CUpdateHearts::handle)
|
||||
.consumerMainThread(S2CUpdateHearts::handle)
|
||||
.add();
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue