forked from SteamWar/SteamWar
Fix some more issues
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ public class KillAllCommand extends SWCommand {
|
||||
WORLD.getEntities()
|
||||
.stream()
|
||||
.filter(e -> !(e instanceof Player))
|
||||
.filter(e -> region.inRegion(e.getLocation()))
|
||||
.filter(e -> region.getArea().inRegion(e.getLocation(), false))
|
||||
.forEach(entity -> {
|
||||
entity.remove();
|
||||
count.incrementAndGet();
|
||||
|
||||
Reference in New Issue
Block a user