Commented region debug messages.
This commit is contained in:
@@ -299,7 +299,8 @@ public class GeoEngine
|
|||||||
final ABlock block = getBlock(geoX, geoY);
|
final ABlock block = getBlock(geoX, geoY);
|
||||||
if (block == null) // null block check
|
if (block == null) // null block check
|
||||||
{
|
{
|
||||||
_log.warning("Cound not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
// TODO: Find when this can be null. (Bad geodata? Check L2World getRegion method.)
|
||||||
|
// _log.warning("Could not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return block.hasGeoPos();
|
return block.hasGeoPos();
|
||||||
|
@@ -771,7 +771,8 @@ public final class L2World
|
|||||||
}
|
}
|
||||||
catch (ArrayIndexOutOfBoundsException e)
|
catch (ArrayIndexOutOfBoundsException e)
|
||||||
{
|
{
|
||||||
_log.warning(getClass().getSimpleName() + ": Incorrect world region X: " + ((x >> SHIFT_BY) + OFFSET_X) + " Y: " + ((y >> SHIFT_BY) + OFFSET_Y) + " Z: " + ((z >> SHIFT_BY_Z) + OFFSET_Z) + " for coordinates x: " + x + " y: " + y + " z: " + z);
|
// TODO: Find when this can be null. (Bad geodata? Check GeoEngine hasGeoPos method.)
|
||||||
|
// _log.warning(getClass().getSimpleName() + ": Incorrect world region X: " + ((x >> SHIFT_BY) + OFFSET_X) + " Y: " + ((y >> SHIFT_BY) + OFFSET_Y) + " Z: " + ((z >> SHIFT_BY_Z) + OFFSET_Z) + " for coordinates x: " + x + " y: " + y + " z: " + z);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -299,7 +299,8 @@ public class GeoEngine
|
|||||||
final ABlock block = getBlock(geoX, geoY);
|
final ABlock block = getBlock(geoX, geoY);
|
||||||
if (block == null) // null block check
|
if (block == null) // null block check
|
||||||
{
|
{
|
||||||
_log.warning("Cound not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
// TODO: Find when this can be null. (Bad geodata? Check L2World getRegion method.)
|
||||||
|
// _log.warning("Could not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return block.hasGeoPos();
|
return block.hasGeoPos();
|
||||||
|
@@ -771,7 +771,8 @@ public final class L2World
|
|||||||
}
|
}
|
||||||
catch (ArrayIndexOutOfBoundsException e)
|
catch (ArrayIndexOutOfBoundsException e)
|
||||||
{
|
{
|
||||||
_log.warning(getClass().getSimpleName() + ": Incorrect world region X: " + ((x >> SHIFT_BY) + OFFSET_X) + " Y: " + ((y >> SHIFT_BY) + OFFSET_Y) + " Z: " + ((z >> SHIFT_BY_Z) + OFFSET_Z) + " for coordinates x: " + x + " y: " + y + " z: " + z);
|
// TODO: Find when this can be null. (Bad geodata? Check GeoEngine hasGeoPos method.)
|
||||||
|
// _log.warning(getClass().getSimpleName() + ": Incorrect world region X: " + ((x >> SHIFT_BY) + OFFSET_X) + " Y: " + ((y >> SHIFT_BY) + OFFSET_Y) + " Z: " + ((z >> SHIFT_BY_Z) + OFFSET_Z) + " for coordinates x: " + x + " y: " + y + " z: " + z);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -299,7 +299,8 @@ public class GeoEngine
|
|||||||
final ABlock block = getBlock(geoX, geoY);
|
final ABlock block = getBlock(geoX, geoY);
|
||||||
if (block == null) // null block check
|
if (block == null) // null block check
|
||||||
{
|
{
|
||||||
_log.warning("Cound not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
// TODO: Find when this can be null. (Bad geodata? Check L2World getRegion method.)
|
||||||
|
// _log.warning("Could not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return block.hasGeoPos();
|
return block.hasGeoPos();
|
||||||
|
@@ -771,7 +771,8 @@ public final class L2World
|
|||||||
}
|
}
|
||||||
catch (ArrayIndexOutOfBoundsException e)
|
catch (ArrayIndexOutOfBoundsException e)
|
||||||
{
|
{
|
||||||
_log.warning(getClass().getSimpleName() + ": Incorrect world region X: " + ((x >> SHIFT_BY) + OFFSET_X) + " Y: " + ((y >> SHIFT_BY) + OFFSET_Y) + " Z: " + ((z >> SHIFT_BY_Z) + OFFSET_Z) + " for coordinates x: " + x + " y: " + y + " z: " + z);
|
// TODO: Find when this can be null. (Bad geodata? Check GeoEngine hasGeoPos method.)
|
||||||
|
// _log.warning(getClass().getSimpleName() + ": Incorrect world region X: " + ((x >> SHIFT_BY) + OFFSET_X) + " Y: " + ((y >> SHIFT_BY) + OFFSET_Y) + " Z: " + ((z >> SHIFT_BY_Z) + OFFSET_Z) + " for coordinates x: " + x + " y: " + y + " z: " + z);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -299,7 +299,8 @@ public class GeoEngine
|
|||||||
final ABlock block = getBlock(geoX, geoY);
|
final ABlock block = getBlock(geoX, geoY);
|
||||||
if (block == null) // null block check
|
if (block == null) // null block check
|
||||||
{
|
{
|
||||||
_log.warning("Cound not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
// TODO: Find when this can be null. (Bad geodata? Check L2World getRegion method.)
|
||||||
|
// _log.warning("Could not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return block.hasGeoPos();
|
return block.hasGeoPos();
|
||||||
|
@@ -771,7 +771,8 @@ public final class L2World
|
|||||||
}
|
}
|
||||||
catch (ArrayIndexOutOfBoundsException e)
|
catch (ArrayIndexOutOfBoundsException e)
|
||||||
{
|
{
|
||||||
_log.warning(getClass().getSimpleName() + ": Incorrect world region X: " + ((x >> SHIFT_BY) + OFFSET_X) + " Y: " + ((y >> SHIFT_BY) + OFFSET_Y) + " Z: " + ((z >> SHIFT_BY_Z) + OFFSET_Z) + " for coordinates x: " + x + " y: " + y + " z: " + z);
|
// TODO: Find when this can be null. (Bad geodata? Check GeoEngine hasGeoPos method.)
|
||||||
|
// _log.warning(getClass().getSimpleName() + ": Incorrect world region X: " + ((x >> SHIFT_BY) + OFFSET_X) + " Y: " + ((y >> SHIFT_BY) + OFFSET_Y) + " Z: " + ((z >> SHIFT_BY_Z) + OFFSET_Z) + " for coordinates x: " + x + " y: " + y + " z: " + z);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -297,7 +297,8 @@ public class GeoEngine
|
|||||||
final ABlock block = getBlock(geoX, geoY);
|
final ABlock block = getBlock(geoX, geoY);
|
||||||
if (block == null) // null block check
|
if (block == null) // null block check
|
||||||
{
|
{
|
||||||
_log.warning("Cound not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
// TODO: Find when this can be null.
|
||||||
|
// _log.warning("Could not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return block.hasGeoPos();
|
return block.hasGeoPos();
|
||||||
|
@@ -299,7 +299,8 @@ public class GeoEngine
|
|||||||
final ABlock block = getBlock(geoX, geoY);
|
final ABlock block = getBlock(geoX, geoY);
|
||||||
if (block == null) // null block check
|
if (block == null) // null block check
|
||||||
{
|
{
|
||||||
_log.warning("Cound not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
// TODO: Find when this can be null. (Bad geodata? Check L2World getRegion method.)
|
||||||
|
// _log.warning("Could not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return block.hasGeoPos();
|
return block.hasGeoPos();
|
||||||
|
@@ -771,7 +771,8 @@ public final class L2World
|
|||||||
}
|
}
|
||||||
catch (ArrayIndexOutOfBoundsException e)
|
catch (ArrayIndexOutOfBoundsException e)
|
||||||
{
|
{
|
||||||
_log.warning(getClass().getSimpleName() + ": Incorrect world region X: " + ((x >> SHIFT_BY) + OFFSET_X) + " Y: " + ((y >> SHIFT_BY) + OFFSET_Y) + " Z: " + ((z >> SHIFT_BY_Z) + OFFSET_Z) + " for coordinates x: " + x + " y: " + y + " z: " + z);
|
// TODO: Find when this can be null. (Bad geodata? Check GeoEngine hasGeoPos method.)
|
||||||
|
// _log.warning(getClass().getSimpleName() + ": Incorrect world region X: " + ((x >> SHIFT_BY) + OFFSET_X) + " Y: " + ((y >> SHIFT_BY) + OFFSET_Y) + " Z: " + ((z >> SHIFT_BY_Z) + OFFSET_Z) + " for coordinates x: " + x + " y: " + y + " z: " + z);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -299,7 +299,8 @@ public class GeoEngine
|
|||||||
final ABlock block = getBlock(geoX, geoY);
|
final ABlock block = getBlock(geoX, geoY);
|
||||||
if (block == null) // null block check
|
if (block == null) // null block check
|
||||||
{
|
{
|
||||||
_log.warning("Cound not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
// TODO: Find when this can be null. (Bad geodata? Check L2World getRegion method.)
|
||||||
|
// _log.warning("Could not find geodata block at " + getWorldX(geoX) + ", " + getWorldY(geoY) + ".");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return block.hasGeoPos();
|
return block.hasGeoPos();
|
||||||
|
@@ -771,7 +771,8 @@ public final class L2World
|
|||||||
}
|
}
|
||||||
catch (ArrayIndexOutOfBoundsException e)
|
catch (ArrayIndexOutOfBoundsException e)
|
||||||
{
|
{
|
||||||
_log.warning(getClass().getSimpleName() + ": Incorrect world region X: " + ((x >> SHIFT_BY) + OFFSET_X) + " Y: " + ((y >> SHIFT_BY) + OFFSET_Y) + " Z: " + ((z >> SHIFT_BY_Z) + OFFSET_Z) + " for coordinates x: " + x + " y: " + y + " z: " + z);
|
// TODO: Find when this can be null. (Bad geodata? Check GeoEngine hasGeoPos method.)
|
||||||
|
// _log.warning(getClass().getSimpleName() + ": Incorrect world region X: " + ((x >> SHIFT_BY) + OFFSET_X) + " Y: " + ((y >> SHIFT_BY) + OFFSET_Y) + " Z: " + ((z >> SHIFT_BY_Z) + OFFSET_Z) + " for coordinates x: " + x + " y: " + y + " z: " + z);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user