mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 05:02:39 +00:00
quick fix : Unused assignment
This commit is contained in:
1 parent
6bf15fdfe3
commit
2b6b01314d
34 files changed
+54
-63
No files matched your search
@@ -132,7 +132,7 @@ public abstract class HarvestTool extends ToolCore {
|
||||
boolean used = false;
|
||||
int hotbarSlot = player.inventory.currentItem;
|
||||
int itemSlot = hotbarSlot == 0 ? 8 : hotbarSlot + 1;
|
||||
ItemStack nearbyStack = null;
|
||||
ItemStack nearbyStack;
|
||||
|
||||
if (hotbarSlot < 8) {
|
||||
nearbyStack = player.inventory.getStackInSlot(itemSlot);
|
||||
|
||||
Reference in new issue
Block a user