Removed a possible memory leak source

This commit is contained in:
Ellpeck 2016-06-05 03:02:10 +02:00
parent ee01652574
commit f576d58204

View file

@ -159,8 +159,6 @@ public class WorldData{
public static void unload(World world){ public static void unload(World world){
if(!world.isRemote){ if(!world.isRemote){
save(world);
worldData.remove(world.provider.getDimension()); worldData.remove(world.provider.getDimension());
ModUtil.LOGGER.info("Unloading WorldData for world "+world.provider.getDimension()+"!"); ModUtil.LOGGER.info("Unloading WorldData for world "+world.provider.getDimension()+"!");
} }