Fixed SurroundingRegion check.
This commit is contained in:
parent
47c38e35cb
commit
9816651177
@ -172,7 +172,7 @@ public final class L2WorldRegion
|
||||
|
||||
public boolean areNeighborsEmpty()
|
||||
{
|
||||
return !forEachSurroundingRegion(w ->
|
||||
return forEachSurroundingRegion(w ->
|
||||
{
|
||||
return !(w.isActive() && w.getVisibleObjects().values().stream().anyMatch(L2Object::isPlayable));
|
||||
});
|
||||
|
@ -172,7 +172,7 @@ public final class L2WorldRegion
|
||||
|
||||
public boolean areNeighborsEmpty()
|
||||
{
|
||||
return !forEachSurroundingRegion(w ->
|
||||
return forEachSurroundingRegion(w ->
|
||||
{
|
||||
return !(w.isActive() && w.getVisibleObjects().values().stream().anyMatch(L2Object::isPlayable));
|
||||
});
|
||||
|
@ -172,7 +172,7 @@ public final class L2WorldRegion
|
||||
|
||||
public boolean areNeighborsEmpty()
|
||||
{
|
||||
return !forEachSurroundingRegion(w ->
|
||||
return forEachSurroundingRegion(w ->
|
||||
{
|
||||
return !(w.isActive() && w.getVisibleObjects().values().stream().anyMatch(L2Object::isPlayable));
|
||||
});
|
||||
|
@ -172,7 +172,7 @@ public final class L2WorldRegion
|
||||
|
||||
public boolean areNeighborsEmpty()
|
||||
{
|
||||
return !forEachSurroundingRegion(w ->
|
||||
return forEachSurroundingRegion(w ->
|
||||
{
|
||||
return !(w.isActive() && w.getVisibleObjects().values().stream().anyMatch(L2Object::isPlayable));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user