mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
Address comments on PR
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user