aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/makamys')
-rw-r--r--src/main/java/makamys/neodymium/Neodymium.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/main/java/makamys/neodymium/Neodymium.java b/src/main/java/makamys/neodymium/Neodymium.java
index 00e9846..4adab56 100644
--- a/src/main/java/makamys/neodymium/Neodymium.java
+++ b/src/main/java/makamys/neodymium/Neodymium.java
@@ -84,14 +84,6 @@ public class Neodymium
}
}
- @EventHandler
- public void onServerAboutToStart(FMLServerAboutToStartEvent event)
- {
- Config.reloadConfig();
- ChatUtil.resetShownChatMessages();
- Compat.reset();
- }
-
private void onPlayerWorldChanged(World newWorld) {
if(getRendererWorld() == null && newWorld != null) {
Config.reloadConfig();
@@ -125,6 +117,9 @@ public class Neodymium
@SubscribeEvent
@SideOnly(Side.CLIENT)
public void onConnectToServer(ClientConnectedToServerEvent event) {
+ Config.reloadConfig();
+ ChatUtil.resetShownChatMessages();
+ Compat.reset();
WarningHelper.reset();
}