Slow Item Pipe max speed so the code can keep up
This commit is contained in:
parent
986f407af6
commit
547c5d28ea
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue