SteamWar/MissileWars
Archiviert
13
0

Test fix fireball finish

Dieser Commit ist enthalten in:
Lixfel 2020-07-25 10:37:42 +02:00
Ursprung 7f2c1b0522
Commit e7087b6856

Datei anzeigen

@ -37,7 +37,6 @@ public class PortalDestructListener extends BasicListener {
double z = e.getLocation().getZ(); double z = e.getLocation().getZ();
double distRed = Math.abs(Config.RedPortalZ + 0.5 - z); double distRed = Math.abs(Config.RedPortalZ + 0.5 - z);
double distBlue = Math.abs(Config.BluePortalZ + 0.5 - z); double distBlue = Math.abs(Config.BluePortalZ + 0.5 - z);
System.out.println(distBlue + " " + distRed);
if(distRed < 2 || distBlue < 2) if(distRed < 2 || distBlue < 2)
e.setCancelled(true); e.setCancelled(true);
} }