From 342fd7976141b2438a14ed17f0984b9d5272002d Mon Sep 17 00:00:00 2001 From: ACGaming <4818419+ACGaming@users.noreply.github.com> Date: Thu, 14 Mar 2024 20:57:17 +0100 Subject: [PATCH] Limit Disconnect Dupe bugfix to client side #397 #398 --- .../bugfixes/entities/disconnectdupe/UTDisconnectDupe.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/mod/acgaming/universaltweaks/bugfixes/entities/disconnectdupe/UTDisconnectDupe.java b/src/main/java/mod/acgaming/universaltweaks/bugfixes/entities/disconnectdupe/UTDisconnectDupe.java index 678705fd..e0a06b08 100644 --- a/src/main/java/mod/acgaming/universaltweaks/bugfixes/entities/disconnectdupe/UTDisconnectDupe.java +++ b/src/main/java/mod/acgaming/universaltweaks/bugfixes/entities/disconnectdupe/UTDisconnectDupe.java @@ -7,6 +7,7 @@ import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.gameevent.PlayerEvent; +import net.minecraftforge.fml.relauncher.Side; import mod.acgaming.universaltweaks.UniversalTweaks; import mod.acgaming.universaltweaks.bugfixes.entities.disconnectdupe.mixin.PlayerListInvoker; @@ -14,7 +15,7 @@ import mod.acgaming.universaltweaks.config.UTConfigGeneral; // Courtesy of Meldexun -@Mod.EventBusSubscriber(modid = UniversalTweaks.MODID) +@Mod.EventBusSubscriber(modid = UniversalTweaks.MODID, value = Side.CLIENT) public class UTDisconnectDupe { @SubscribeEvent