mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-18 03:25:09 +00:00
Added safeguard to WorldExtensionManager.saveWorld for when someone force closes the client.
Made config files save themselves on tag remove Removed ' ' -> '_' mapping in config file keys
This commit is contained in:
1 parent
8518ed3bb0
commit
fed626df0b
3 files changed
+11
-7
No files matched your search
@@ -76,8 +76,9 @@ public class WorldExtensionManager
|
||||
@ForgeSubscribe
|
||||
public void onWorldSave(WorldEvent.Save event)
|
||||
{
|
||||
for(WorldExtension extension : worldMap.get(event.world))
|
||||
extension.save();
|
||||
if(worldMap.containsKey(event.world))
|
||||
for(WorldExtension extension : worldMap.get(event.world))
|
||||
extension.save();
|
||||
}
|
||||
|
||||
@ForgeSubscribe
|
||||
|
||||
Reference in new issue
Block a user