From 9b82e1a5a4e801abae28099439e02b2af4a48b3a Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Fri, 1 Nov 2024 14:13:07 +0900 Subject: [PATCH] Fix erronous double-line of code --- .../TurnBasedMinecraft/common/TurnBasedMinecraftMod.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/burnedkirby/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java b/src/main/java/com/burnedkirby/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java index f71cc8a..8420e62 100644 --- a/src/main/java/com/burnedkirby/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java +++ b/src/main/java/com/burnedkirby/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java @@ -153,7 +153,6 @@ public class TurnBasedMinecraftMod { for (ServerPlayer player : c.getSource().getServer().getPlayerList().getPlayers()) { proxy.getConfig().addBattleIgnoringPlayer(player.getId()); PacketDistributor.sendToPlayer(player, new PacketGeneralMessage("OP disabled turn-based-combat for everyone")); - PacketDistributor.sendToPlayer(player, new PacketGeneralMessage("OP disabled turn-based-combat for everyone")); } return 1; }));