Address comments on PR

This commit is contained in:
pupnewfster authored and Dave Smith committed 2019-03-24 14:26:33 -06:00
1 parent 1a05fc9680
commit 1b6cfd37e9
2 files changed
+27 -25

No files matched your search

@@ -481,11 +481,9 @@ public class TileEntityInductionPort extends TileEntityInductionCasing implement
@Nonnull
@Override
public int[] getSlotsForFace(@Nonnull EnumFacing side) {
if ((!world.isRemote && structure != null) || (world.isRemote && clientHasStructure)) {
//Inserting into input make it draw power from the item inserted
return new int[]{mode ? 0 : 1};
}
return InventoryUtils.EMPTY;
//Inserting into input make it draw power from the item inserted
return (!world.isRemote && structure != null) || (world.isRemote && clientHasStructure) ? new int[]{
mode ? 0 : 1} : InventoryUtils.EMPTY;
}
@Override