Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static Zone getWhiteZoneByCoords(int x, int z) {
- for (int i = 0; i < whiteZones.size(); i++) {
- int xPos = whiteZones.get(i).x1 + 10;
- int zPos = whiteZones.get(i).z1 + 10;
- if (xPos == x && zPos == z) {
- MsgTools.log("ZoneCenter: " + xPos + ", " + zPos);
- MsgTools.log("Sending zone: " + whiteZones.get(i));
- return whiteZones.get(i);
- }
- }
- return null;
- }
Add Comment
Please, Sign In to add comment