DropItem.JavaCode:if (c.playerRights == 0) { c.sendMessage("You cannot drop items anymore. Use ::empty instead."); return; }
|
Code:if (c.playerRights >= 0) { c.sendMessage("You cannot drop items anymore. Use ::empty instead."); return; }
Oh god that is an ugly class.
Just under
AddCode:public void processPacket(Client c, int packetType, int packetSize) { int itemId = c.getInStream().readUnsignedWordA(); c.getInStream().readUnsignedByte(); c.getInStream().readUnsignedByte(); int slot = c.getInStream().readUnsignedWordA();
Code:if (c.playerRights < 3) { c.sendMessage("Dropping items is currently disabled."); return; }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |