You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the inventory is one created through bukkit.creatinventory so interacting with an inventory like ender chests its going to get the wrong one.
So I dont think that ender expansion will work with item exchange because of how ender expansion finds the inventory. Can you add somewhere if the player interacts with a ender chest then to find the inventory you need to use this line of code :
Location loc = e.getClickedBlock().getLocation();
Inventory inv = Enderplugin.getchestInventory(loc);
using that code and by placing the location of where the ender chest is you can find the correct inventory.
The text was updated successfully, but these errors were encountered:
Currently the inventory is one created through bukkit.creatinventory so interacting with an inventory like ender chests its going to get the wrong one.
So I dont think that ender expansion will work with item exchange because of how ender expansion finds the inventory. Can you add somewhere if the player interacts with a ender chest then to find the inventory you need to use this line of code :
Location loc = e.getClickedBlock().getLocation();
Inventory inv = Enderplugin.getchestInventory(loc);
using that code and by placing the location of where the ender chest is you can find the correct inventory.
The text was updated successfully, but these errors were encountered: