Skip to content

Commit

Permalink
fix: Enable server-only TwelveIterationMods/Balm#122
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Feb 9, 2025
1 parent 3612c3d commit f4a0985
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
public class ModNetworking {

public static void initialize(BalmNetworking networking) {
networking.allowServerOnly(GravelMiner.MOD_ID);
networking.registerClientboundPacket(id("hello"), HelloMessage.class, HelloMessage::encode, HelloMessage::decode, HelloMessage::handle);
networking.registerServerboundPacket(id("set_enabled"), SetClientSettingMessage.class, SetClientSettingMessage::encode, SetClientSettingMessage::decode, SetClientSettingMessage::handle);
}
Expand Down

0 comments on commit f4a0985

Please sign in to comment.