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
|
||||
public boolean isItemValidForSlot(int var1, ItemStack var2) {
|
||||
return false;
|
||||
public boolean isItemValidForSlot(int slot, ItemStack stack) {
|
||||
if (slot == 0) {
|
||||
return stack.getItem() instanceof ItemBlueprint;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue