private void getFromChunk(Chunk chunk) {

		chunkWorld = chunk.getWorld().getName();
		chunkX = chunk.getX();
		chunkZ = chunk.getZ();

		HashMap<Integer, HashMap<String, String>> chunkData = SQLBridge.select(
				"*", "TownList", "town = '" + chunkWorld + "' AND x = "
						+ chunkX + " AND z = " + chunkZ, "", "");

		if (chunkData == null || chunkData.isEmpty()) {
			owner = "Unowned";

		} else if(chunkData != null || !chunkData.isEmpty()){

			owner = chunkData.get(0).get("owner");
			centerY = chunkData.get(0).get("y");
			tier = chunkData.get(0).get("tier");
			if (owner.equals(""))
				owner = "Unowned";

		}

	}