SteamWar/FightSystem
Archiviert
13
1

Waterremover adjustment for Underwater
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-10-08 07:48:56 +02:00
Ursprung 3208ee9ab9
Commit d064cb8f8f

Datei anzeigen

@ -54,6 +54,10 @@ public class WaterRemover implements Listener {
} }
private void checkBlock(Block b) { private void checkBlock(Block b) {
//do not remove outside teamareas
if(!Config.BlueExtendRegion.inRegion(b) && !Config.RedExtendRegion.inRegion(b))
return;
//checks for water and removes it, if present //checks for water and removes it, if present
if(!FlatteningWrapper.impl.removeWater(b)) if(!FlatteningWrapper.impl.removeWater(b))
return; return;