Skip to content

Commit

Permalink
Remove some unused code
Browse files Browse the repository at this point in the history
rutgerkok committed Jul 17, 2018
1 parent 78574da commit e018e49
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -69,11 +69,6 @@ protected void handleTakeOnlySlotsNormalClick(InventoryClickEvent event) {
return;
}

ItemStack stack = event.getCursor();
if (event.getHotbarButton() != -1) {
stack = event.getWhoClicked().getInventory().getItem(event.getHotbarButton());
}

boolean invalidStack = event.getCursor() != null && !canPlaceStack(event.getCursor());
if (event.getHotbarButton() != -1) {
// When placing items from the hotbar, also check hotbar slot

0 comments on commit e018e49

Please sign in to comment.