mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 08:39:05 +00:00
This update resolves dginovker/2006rebotted#166
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user