Skip to content

Commit

Permalink
* [GH-1] right click on experience store does not remove item from in…
Browse files Browse the repository at this point in the history
…ventory
  • Loading branch information
Sven Pöche authored and root committed Jul 8, 2017
1 parent 41c6c63 commit e4e0a5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer p
player.addChatComponentMessage(new ChatComponentText("experience points reseted"));
}

return true;
return false;
}


@Override
public void onBlockClicked(World world, int x, int y, int z, EntityPlayer player) {
if(world.isRemote) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer p
// sets the tile entity at the location
setTileEntity(world, x, y, z, tileEntityExpStore);

return true;
return false;
}

@Override
Expand Down

0 comments on commit e4e0a5b

Please sign in to comment.