SteamWar/BauSystem2.0
Archiviert
12
0

Fix coral death while freeze is active
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2022-10-24 17:25:00 +02:00
Ursprung 9275fd552c
Commit 23ded823f0

Datei anzeigen

@ -175,4 +175,11 @@ public class FreezeListener implements Listener {
}
}
}
@EventHandler
public void onBlockFade(BlockFadeEvent event) {
if (Region.getRegion(event.getBlock().getLocation()).get(Flag.FREEZE) == FreezeMode.ACTIVE) {
event.setCancelled(true);
}
}
}