Browse Source

More itembase refactor

combat-2
MagicBot 8 months ago
parent
commit
2aa9f9c134
  1. 16
      src/engine/net/client/handlers/ObjectActionMsgHandler.java

16
src/engine/net/client/handlers/ObjectActionMsgHandler.java

@ -180,22 +180,6 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler { @@ -180,22 +180,6 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
//ANNIVERSERY GIFT
case TREASURE:
// *** Disabled for now: Needs bootyset created
//if (ib.getUUID() == 971012) {
// int random = ThreadLocalRandom.current().nextInt(ItemBase.AnniverseryGifts.size());
// int annyID = ItemBase.AnniverseryGifts.get(random);
// ItemBase annyIB = ItemBase.getItemBase(annyID);
// if (annyIB != null) {
// Item gift = MobLoot.createItemForPlayer(player, annyIB);
// if (gift != null) {
// itemMan.addItemToInventory(gift);
// itemMan.consume(item);
// }
// }
// break;
//}
LootManager.peddleFate(player, item);
break;

Loading…
Cancel
Save