Commented region debug messages.
This commit is contained in:
parent
99f9841901
commit
2b22f885fb
@ -299,7 +299,8 @@ public class GeoEngine
|
||||
final ABlock block = getBlock(geoX, geoY);
|
||||
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 block.hasGeoPos();
|
||||
|
@ -771,7 +771,8 @@ public final class L2World
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@ -299,7 +299,8 @@ public class GeoEngine
|
||||
final ABlock block = getBlock(geoX, geoY);
|
||||
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 block.hasGeoPos();
|
||||
|
@ -771,7 +771,8 @@ public final class L2World
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@ -299,7 +299,8 @@ public class GeoEngine
|
||||
final ABlock block = getBlock(geoX, geoY);
|
||||
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 block.hasGeoPos();
|
||||
|
@ -771,7 +771,8 @@ public final class L2World
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@ -299,7 +299,8 @@ public class GeoEngine
|
||||
final ABlock block = getBlock(geoX, geoY);
|
||||
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 block.hasGeoPos();
|
||||
|
@ -771,7 +771,8 @@ public final class L2World
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@ -297,7 +297,8 @@ public class GeoEngine
|
||||
final ABlock block = getBlock(geoX, geoY);
|
||||
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 block.hasGeoPos();
|
||||
|
@ -299,7 +299,8 @@ public class GeoEngine
|
||||
final ABlock block = getBlock(geoX, geoY);
|
||||
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 block.hasGeoPos();
|
||||
|
@ -771,7 +771,8 @@ public final class L2World
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@ -299,7 +299,8 @@ public class GeoEngine
|
||||
final ABlock block = getBlock(geoX, geoY);
|
||||
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 block.hasGeoPos();
|
||||
|
@ -771,7 +771,8 @@ public final class L2World
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user