fixed builder accepting items, fix #1555
This commit is contained in:
parent
4bdbd13051
commit
2431d82225
1 changed files with 6 additions and 2 deletions
|
@ -586,8 +586,12 @@ public class TileBuilder extends TileAbstractBuilder implements IMachine, IBoxPr
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isItemValidForSlot(int var1, ItemStack var2) {
|
public boolean isItemValidForSlot(int slot, ItemStack stack) {
|
||||||
return false;
|
if (slot == 0) {
|
||||||
|
return stack.getItem() instanceof ItemBlueprint;
|
||||||
|
} else {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue