Guest User

HELPP

a guest
Jun 25th, 2016
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. ERROR Error occurred while enabling Mayhem v1.0 (Is it up to date?)
  2. 25.06 22:04:12 [Server] INFO java.lang.NullPointerException
  3. 25.06 22:04:12 [Server] INFO at me.eric.ItemMechanics.Attributes.<init>(Attributes.java:269) ~[?:?]
  4.  
  5. CODE: if (nmsStack.getTag() == null)
  6.  
  7. it use to be just: if (nmsStack.Tag == null) but when I upgraded it to 1.8.3 I had to change it to getTag() and it broke...
  8.  
  9.  
  10. 25.06 22:04:12 [Server] INFO at me.eric.ItemMechanics.ItemGenerators.customGenerator(ItemGenerators.java:136) ~[?:?]
  11.  
  12. CODE: Attributes attributes = new Attributes(is);
  13.  
  14. this code actually never changed in the update it worked fine I don't know what happened
  15.  
  16. 25.06 22:04:12 [Server] INFO at me.eric.ItemMechanics.ItemMechanics.loadCustomItemTemplates(ItemMechanics.java:691) ~[?:?]
  17.  
  18. CODE: custom_item_table.put(template_name, ItemGenerators.customGenerator(template_name));
  19. this never changed either It use to work fine
  20.  
  21. 25.06 22:04:12 [Server] INFO at me.eric.ItemMechanics.ItemMechanics.onEnable(ItemMechanics.java:225) ~[?:?]
  22.  
  23. CODE: loadCustomItemTemplates();
  24.  
  25. this worked too but not anymore
Add Comment
Please, Sign In to add comment