mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Updating to 14.23.5.2808; naming fixes where necessary
This commit is contained in:
1 parent
a79a3e1658
commit
8d3f8df49c
93 files changed
+171
-177
No files matched your search
@@ -145,7 +145,7 @@ public final class GasUtils
|
||||
{
|
||||
IGasHandler handler = possibleAcceptors[i];
|
||||
|
||||
if(handler != null && handler.canReceiveGas(EnumFacing.getFront(i).getOpposite(), stack.getGas()))
|
||||
if(handler != null && handler.canReceiveGas(EnumFacing.byIndex(i).getOpposite(), stack.getGas()))
|
||||
{
|
||||
availableAcceptors.add(handler);
|
||||
}
|
||||
@@ -172,7 +172,7 @@ public final class GasUtils
|
||||
remaining--;
|
||||
}
|
||||
|
||||
EnumFacing dir = EnumFacing.getFront(Arrays.asList(possibleAcceptors).indexOf(acceptor)).getOpposite();
|
||||
EnumFacing dir = EnumFacing.byIndex(Arrays.asList(possibleAcceptors).indexOf(acceptor)).getOpposite();
|
||||
toSend -= acceptor.receiveGas(dir, new GasStack(stack.getGas(), currentSending), true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user