For v2.2.
This commit is contained in:
@@ -284,6 +284,9 @@ public abstract class SimpleNPC implements NPC, PacketHandler {
|
||||
case MAINHAND:
|
||||
this.inHand = item;
|
||||
break;
|
||||
case OFFHAND:
|
||||
this.offHand = item;
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException("Entered an invalid inventory slot");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user