mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-18 19:29:28 +00:00
- TC Eldritch Challenge: Update
This commit is contained in:
1 parent
2632b3efb7
commit
d40366dfdc
7 files changed
+53
-41
No files matched your search
@@ -57,7 +57,7 @@ public class EventHandlerWorld {
|
||||
|
||||
@SubscribeEvent(priority = EventPriority.NORMAL)
|
||||
public void on(WorldEvent.Load e) {
|
||||
if (!e.world.isRemote && e.world.equals(MinecraftServer.getServer().getEntityWorld())) {
|
||||
if (!e.world.isRemote && e.world.provider.dimensionId == 0) {
|
||||
Gadomancy.loadModData();
|
||||
|
||||
GolemEnumHelper.validateSavedMapping();
|
||||
@@ -109,7 +109,7 @@ public class EventHandlerWorld {
|
||||
|
||||
@SubscribeEvent(priority = EventPriority.NORMAL)
|
||||
public void on(WorldEvent.Unload e) {
|
||||
if (!e.world.isRemote && e.world.equals(MinecraftServer.getServer().getEntityWorld())) {
|
||||
if (!e.world.isRemote && e.world.provider.dimensionId == 0) {
|
||||
Gadomancy.unloadModData();
|
||||
|
||||
TCMazeHandler.closeAllSessionsAndCleanup();
|
||||
|
||||
Reference in new issue
Block a user