Guest User

Untitled

a guest
Oct 15th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. protected Container returnContainer(IInventory player, IInventory chest)
  2. {
  3. try
  4. {
  5. return (Container) obj.getConstructor(IInventory.class, IInventory.class,
  6. TierEnum.class, Integer.TYPE, Integer.TYPE)
  7. .newInstance(player, chest, mainType, xSize, ySize);
  8. }
  9. catch (Throwable e)
  10. {
  11. e.printStackTrace();
  12. }
  13. return null;
  14. }
Add Comment
Please, Sign In to add comment