Added proper object size calculations.
Removed old objectDistance code.
Added current task support, allows easy creation of player tasks that cannot duplicate.
This commit is contained in:
Michael Sasse
2019-10-26 19:43:19 -05:00
parent 365e4a13be
commit a9d45373e0
156 changed files with 218 additions and 799 deletions
@@ -15,6 +15,7 @@ public class ItemOnNpc implements PacketType {
final int slot = player.getInStream().readSignedWordBigEndian();
final int npcId = NpcHandler.npcs[i].npcType;
SkillHandler.resetItemOnNpc(player);
player.endCurrentTask();
if (player.playerRights == 3) {
player.getActionSender().sendMessage("Item id: " + itemId + " slot: " + slot + " i: " + i);
}