Commits

fonkfader  committed fdb9863

fix null point exeption in anvil

  • Participants
  • Parent commits d7c2ced

Comments (0)

Files changed (3)

File bin/me/fonkfader/EmeraldEconLink/ContenerListener$8.class

Binary file modified.

File bin/me/fonkfader/EmeraldEconLink/ContenerListener.class

Binary file modified.

File src/me/fonkfader/EmeraldEconLink/ContenerListener.java

 									}
 								}, 1);
 
-					} else if (p.getOpenInventory().getBottomInventory()
+					} else if ((p.getOpenInventory().getBottomInventory()
+							.getItem(0)!=null)&&(p.getOpenInventory().getBottomInventory()
 							.getItem(0).getTypeId() != e.getCurrentItem()
-							.getTypeId()) {
+							.getTypeId())) {
 
 						final int count = Utils.countHolderItem(e, itemId);