Merge branch 'master' into future
This commit is contained in:
commit
5a55666f94
5 files changed
+68
-24
No files matched your search
@@ -89,6 +89,8 @@ public class PerimeterDiagnostics
|
||||
PerimeterDiagnostics diagnostic = new PerimeterDiagnostics(worldserver,ctype,el);
|
||||
EntityType type = EntityType.ZOMBIE;
|
||||
if (el != null) type = el.getType();
|
||||
int minY = worldserver.getBottomY();
|
||||
int maxY = worldserver.getTopY();
|
||||
for (int x = -128; x <= 128; ++x)
|
||||
{
|
||||
for (int z = -128; z <= 128; ++z)
|
||||
@@ -97,7 +99,7 @@ public class PerimeterDiagnostics
|
||||
{
|
||||
continue;
|
||||
}
|
||||
for (int y= 0; y < 256; ++y)
|
||||
for (int y= minY; y < maxY; ++y)
|
||||
{
|
||||
if ((Math.abs(y-eY)>128) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user