fixed indentation
This commit is contained in:
parent
55f4efb65c
commit
cdd9ae1199
1 changed files with 30 additions and 27 deletions
|
@ -50,14 +50,17 @@ public abstract class PipeTransport {
|
|||
|
||||
public void writeToNBT(NBTTagCompound nbt) {
|
||||
int iosettings = 0;
|
||||
|
||||
for (int b = 0; b < ForgeDirection.VALID_DIRECTIONS.length; b++) {
|
||||
if (inputsOpen[b]) {
|
||||
iosettings |= 1 << b;
|
||||
}
|
||||
|
||||
if (outputsOpen[b]) {
|
||||
iosettings |= 1 << (b + 8);
|
||||
}
|
||||
}
|
||||
|
||||
nbt.setInteger(PIPE_IO_SETTINGS, iosettings);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue