From 6fe8b80c871e26d62cf32e86a04a466f9728ddcd Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 14 Mar 2024 18:54:03 -0500 Subject: [PATCH] remove resource drop server announcement --- src/engine/gameManager/LootManager.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index c122420d..855b1285 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -203,10 +203,6 @@ public enum LootManager { if(chance > 10) return null; int amount = ThreadLocalRandom.current().nextInt((int)(tableRow.minSpawn * 0.5f), (int)((tableRow.maxSpawn + 1) * 0.5f)); - ChatSystemMsg chatMsg = new ChatSystemMsg(null, mob.getName() + " HAS FOUND " + amount + " " + ItemBase.getItemBase(itemUUID).getName() + ". "); - chatMsg.setMessageType(10); - chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); - DispatchMessage.dispatchMsgToAll(chatMsg); return new MobLoot(mob, ItemBase.getItemBase(itemUUID), amount, false); }