SteamWar/FightSystem
Archiviert
13
1

Fix WaterRemover: Remove empty blocklist check.
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2024-01-05 17:21:23 +01:00
Ursprung ed1ab06ce1
Commit 5d9aa147b7

Datei anzeigen

@ -71,7 +71,7 @@ public class WaterRemover implements Listener {
event.setYield(0); //No drops (additionally to world config) event.setYield(0); //No drops (additionally to world config)
FightTeam spawn = tnt.remove(event.getEntity().getEntityId()); FightTeam spawn = tnt.remove(event.getEntity().getEntityId());
if(spawn != null && event.blockList().isEmpty() && !spawn.getExtendRegion().inRegion(event.getLocation())) { if(spawn != null && !spawn.getExtendRegion().inRegion(event.getLocation())) {
Block b = event.getLocation().getBlock(); Block b = event.getLocation().getBlock();
checkBlock(b); checkBlock(b);
checkNeighbours(b); checkNeighbours(b);