Merge pull request #1660 from coderbot16/1.12-multipackets

Transformers now declare that they can output multiple packets per tick
This commit is contained in:
Modmuss50 2019-01-30 19:41:14 +00:00 committed by GitHub
commit a5fa237017
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,6 +73,9 @@ public class TileTransformer extends TilePowerAcceptor
this.maxInput = tier.getMaxInput(); this.maxInput = tier.getMaxInput();
this.maxOutput = tier.getMaxOutput(); this.maxOutput = tier.getMaxOutput();
this.maxStorage = tier.getMaxInput() * 2; this.maxStorage = tier.getMaxInput() * 2;
// Should always be 4, except if we're tier MICRO, in which it will be 1.
super.setMaxPacketsPerTick(tier.getMaxOutput() / ouputTier.getMaxInput());
} }
// TilePowerAcceptor // TilePowerAcceptor