Skip to content

Commit

Permalink
no way
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Oct 20, 2024
1 parent 54d9874 commit 2b592d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ Put changelog here:
- Added `IS_DATAGEN` to the `FrozenBools` class.
- This is useful in cases you want to remove a BlockState Property during datagen so it doesn't create unnecessary data.
- `PlayerDamageSourceSounds` has been renamed to `PlayerDamageTypeSounds,` and now takes DamageType as a parameter instead of DamageSource.
- Added missing particle-related features to `BonemealBehaviors` in 1.21+.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import java.util.UUID;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents;
import net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents;
import net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking;
import net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry;
import net.frozenblock.lib.FrozenSharedConstants;
Expand Down Expand Up @@ -118,7 +118,7 @@ public static void registerClientReceivers() {
ClientPlayNetworking.registerGlobalReceiver(ConfigSyncPacket.PACKET_TYPE, (packet, ctx) ->
ConfigSyncPacket.receive(packet, null)
);
ClientConfigurationConnectionEvents.DISCONNECT.register(((handler, client) -> {
ClientPlayConnectionEvents.DISCONNECT.register(((handler, client) -> {
for (Config<?> config : ConfigRegistry.getAllConfigs()) {
ConfigRegistry.setSyncData(config, null);
config.setSynced(false);
Expand Down

0 comments on commit 2b592d0

Please sign in to comment.