Fix WaterRemover: Remove empty blocklist check.
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
ed1ab06ce1
Commit
5d9aa147b7
@ -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);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren