mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
quick fix : Wrapper type may be primitive
This commit is contained in:
1 parent
8e1425203e
commit
f677a4c5b7
5 files changed
+5
-5
No files matched your search
@@ -117,7 +117,7 @@ public class ToolStationContainer extends ActiveContainer {
|
||||
if (stack.getItem() instanceof IModifyable) {
|
||||
NBTTagCompound tags =
|
||||
stack.getTagCompound().getCompoundTag(((IModifyable) stack.getItem()).getBaseTagName());
|
||||
Boolean full = (logic.getStackInSlot(2) != null || logic.getStackInSlot(3) != null);
|
||||
boolean full = (logic.getStackInSlot(2) != null || logic.getStackInSlot(3) != null);
|
||||
for (int i = 2; i <= 3; i++) logic.decrStackSize(i, 1);
|
||||
ItemStack compare = logic.getStackInSlot(1);
|
||||
int amount = compare.getItem() instanceof IModifyable ? compare.stackSize : 1;
|
||||
|
||||
Reference in new issue
Block a user