From f9baf87289152ac98b07439d599d923c26de7b2b Mon Sep 17 00:00:00 2001 From: George Paton Date: Mon, 27 Oct 2025 12:42:13 +1100 Subject: [PATCH] fix PA dipole max speed penalty applying to particles that aren't turning --- .../tileentity/machine/albion/TileEntityPADipole.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/hbm/tileentity/machine/albion/TileEntityPADipole.java b/src/main/java/com/hbm/tileentity/machine/albion/TileEntityPADipole.java index 7a3218217..1584369eb 100644 --- a/src/main/java/com/hbm/tileentity/machine/albion/TileEntityPADipole.java +++ b/src/main/java/com/hbm/tileentity/machine/albion/TileEntityPADipole.java @@ -77,10 +77,10 @@ public class TileEntityPADipole extends TileEntityCooledBase implements IGUIProv if(isInline) mult = 1; } - if(!isCool()) particle.crash(PAState.CRASH_NOCOOL); - if(this.power < this.usage * mult) particle.crash(PAState.CRASH_NOPOWER); - if(type == null) particle.crash(PAState.CRASH_NOCOIL); - if(type != null && type.diMax < particle.momentum) particle.crash(PAState.CRASH_OVERSPEED); + if(!isCool()) particle.crash(PAState.CRASH_NOCOOL); + if(this.power < usage * mult) particle.crash(PAState.CRASH_NOPOWER); + if(type == null) particle.crash(PAState.CRASH_NOCOIL); + if(type != null && type.diMax < particle.momentum && !isInline) particle.crash(PAState.CRASH_OVERSPEED); if(particle.invalid) return; @@ -90,7 +90,7 @@ public class TileEntityPADipole extends TileEntityCooledBase implements IGUIProv particle.resetDistance(); } - this.power -= this.usage * mult; + this.power -= usage * mult; } @Override