Updating to 14.23.5.2808; naming fixes where necessary

This commit is contained in:
Dave Smith committed 2019-02-24 12:21:48 -07:00
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);
}
}