Slow Item Pipe max speed so the code can keep up

This commit is contained in:
CovertJaguar 2013-12-19 05:36:29 -08:00
parent 986f407af6
commit 547c5d28ea

View file

@ -40,6 +40,6 @@ public class PipeItemsGold extends Pipe {
public void eventHandler(PipeEventItem.AdjustSpeed event) {
event.handled = true;
TravelingItem item = event.item;
item.setSpeed(MathUtils.clamp(item.getSpeed() * 4F, TransportConstants.PIPE_NORMAL_SPEED * 4F, TransportConstants.PIPE_NORMAL_SPEED * 20F));
item.setSpeed(MathUtils.clamp(item.getSpeed() * 4F, TransportConstants.PIPE_NORMAL_SPEED * 4F, TransportConstants.PIPE_NORMAL_SPEED * 15F));
}
}