mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Port config rewrite (#5378)
Port Config system, Remove some unused code, Refactored various Tier enums out into their own package
This commit is contained in:
1 parent
a776879eed
commit
9d98ef575d
209 files changed
+3275
-2763
No files matched your search
@@ -99,7 +99,7 @@ public class TransporterImpl extends TransmitterImpl<TileEntity, InventoryNetwor
|
||||
public void update() {
|
||||
if (world().isRemote) {
|
||||
for (TransporterStack stack : transit.values()) {
|
||||
stack.progress = Math.min(100, stack.progress + getTileEntity().tier.speed);
|
||||
stack.progress = Math.min(100, stack.progress + getTileEntity().tier.getSpeed());
|
||||
}
|
||||
} else {
|
||||
if (getTransmitterNetwork() == null) {
|
||||
@@ -121,7 +121,7 @@ public class TransporterImpl extends TransmitterImpl<TileEntity, InventoryNetwor
|
||||
}
|
||||
}
|
||||
|
||||
stack.progress += getTileEntity().tier.speed;
|
||||
stack.progress += getTileEntity().tier.getSpeed();
|
||||
|
||||
if (stack.progress >= 100) {
|
||||
Coord4D prevSet = null;
|
||||
|
||||
Reference in new issue
Block a user