PreparedStatement statement = conn.prepAndBind("INSERT INTO `{permissions_inheritance}` (`child`, `parent`, `type`) VALUES (?, ?, ?)", worldName, "toset", SQLData.Type.WORLD.ordinal());
for (String parentWorld : parentWorlds) {
statement.setString(2, parentWorld);
statement.addBatch();
}
statement.executeBatch();
this.worldInheritanceCache.put(worldName, parentWorlds);
} catch (SQLException | IOException e) {
throw new RuntimeException(e);