public int protectPrice;
|
|
When i try that it give me this error
Please help.
I don't mean to gravedig or whatnot, but my server i'm hosting with mates prevents any sort of dropitemondeath from happening. So just a quick question... where would i put this in my Player.java, i have looked around and this is all i could find, is this right? i think i'm missing one too..Code:public void sendItemsOnDeath(Player killer) { if (getControlerManager().getControler() instanceof WiseOldMan) return; if (rights == 2 || rights == 7 || rights == 10) return; if (isTradeLocked()) return; charges.die(); auraManager.removeAura(); ArrayList<Item> contained = new ArrayList<Item>(); ArrayList<Item> savedItems = new ArrayList<Item>(); for (int i = 0; i < 14; i++) { if (equipment.getItem(i) == null) continue; if (ItemConstants.isSafeOnDeath(equipment.getItem(i).getId()) || ItemConstants.isTradeable(equipment.getItem(i))) { savedItems.add(equipment.getItem(i)); } else { contained.add(equipment.getItem(i)); } }
Last edited by Loom; 01-14-2015 at 01:54 AM.
| « 667 cache - correct maps | Partner » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |