mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Removed a possible memory leak source
This commit is contained in:
parent
ee01652574
commit
f576d58204
1 changed files with 0 additions and 2 deletions
|
@ -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()+"!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue