public void loadLocations() {
		Connection conn = plugin.getDbCtrl().getConnection();
		PreparedStatement ps = null;
		ResultSet rs = null;

		try {
			String sql = String.format("SELECT * FROM `%s`",
					plugin.getDbCtrl().getTable(Table.LOCATION));
			ps = conn.prepareStatement(sql);
			rs = ps.executeQuery();

			while (rs.next()) {
				UUID uid = UUID.fromString(rs.getString("uid"));
				double x = rs.getDouble("x");
				double y = rs.getDouble("y");
				double z = rs.getDouble("z");
				float yaw = rs.getFloat("yaw");
				float pitch = rs.getFloat("pitch");
				int global = rs.getInt("global");
				locations.put(uid, new Location(Bukkit.getServer().getWorld(uid), x, y, z, yaw, pitch));

				if (global == 1)
					globalUID = uid;
			}
		} catch (SQLException e) {
			xAuthLog.severe("Failed to load teleport locations!", e);
		} finally {
			plugin.getDbCtrl().close(conn, ps, rs);
		}
	}