v1.3.0: fixed rare crashes in blast wave knockback
This commit is contained in:
+1
-1
@@ -117,7 +117,7 @@ public class WandOfBlastWave extends DamageWand {
|
|||||||
|
|
||||||
boolean collided = dist == trajectory.dist;
|
boolean collided = dist == trajectory.dist;
|
||||||
|
|
||||||
if (dist == 0
|
if (dist <= 0
|
||||||
|| ch.rooted
|
|| ch.rooted
|
||||||
|| ch.properties().contains(Char.Property.IMMOVABLE)) return;
|
|| ch.properties().contains(Char.Property.IMMOVABLE)) return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user