use of thpmc.vanilla_source.api.world.parallel.ParallelUniverse in project VanillaSource by TheHollowPlanetMC.
the class ImplVanillaSourceAPI method removeUniverse.
@Override
public void removeUniverse(String universeName) {
ParallelUniverse universe = getUniverse(universeName);
if (universe != null)
((ImplParallelUniverse) universe).getPlayers().forEach(player -> player.setUniverse(null));
universeMap.remove(universeName);
}
Aggregations