|
|
@ -180,22 +180,6 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler { |
|
|
|
//ANNIVERSERY GIFT
|
|
|
|
//ANNIVERSERY GIFT
|
|
|
|
case TREASURE: |
|
|
|
case TREASURE: |
|
|
|
// *** Disabled for now: Needs bootyset created
|
|
|
|
// *** 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); |
|
|
|
LootManager.peddleFate(player, item); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|