Testing
This commit is contained in:
parent
a045b02cfe
commit
77cfa3ef19
Binary file not shown.
@ -1283,6 +1283,7 @@ class DeathListener implements Listener{
|
||||
Block block = event.getClickedBlock();
|
||||
Player p = event.getPlayer();
|
||||
//currently crashes the server when refilling....
|
||||
//Kinda glitchy through all here...
|
||||
if(block.getState() instanceof Chest && p.getItemInHand().getType()== Material.BLAZE_ROD && event.getAction() == Action.LEFT_CLICK_BLOCK){
|
||||
|
||||
ItemStack[] itemsinchest = ((Chest) block.getState()).getInventory().getContents();
|
||||
|
Loading…
x
Reference in New Issue
Block a user