Inventory NPE check when using isChangingClass method.
This commit is contained in:
		| @@ -711,7 +711,8 @@ public abstract class Inventory extends ItemContainer | ||||
| 		@Override | ||||
| 		public void notifyUnequiped(int slot, ItemInstance item, Inventory inventory) | ||||
| 		{ | ||||
| 			if (item.getActingPlayer().isChangingClass()) | ||||
| 			final PlayerInstance player = item.getActingPlayer(); | ||||
| 			if ((player != null) && player.isChangingClass()) | ||||
| 			{ | ||||
| 				return; | ||||
| 			} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment