mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-14 19:25:23 -05:00
remove redundant ItemStack.EMPTY check (#94)
This commit is contained in:
parent
530f40e04b
commit
71ab75d47c
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ public interface ClientPickBlockApplyCallback {
|
|||
|
||||
for (ClientPickBlockApplyCallback event : listeners) {
|
||||
stack = event.pick(player, result, stack);
|
||||
if (stack == ItemStack.EMPTY || stack.isEmpty()) {
|
||||
return stack;
|
||||
if (stack.isEmpty()) {
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue