mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Sync server configs with client
This commit is contained in:
1 parent
ced44e97fc
commit
90985663bb
14 files changed
+163
-26
No files matched your search
@@ -4,7 +4,10 @@ import mekanism.common.Mekanism;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import cpw.mods.fml.common.IPlayerTracker;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class ClientPlayerTracker implements IPlayerTracker
|
||||
{
|
||||
@Override
|
||||
@@ -31,6 +34,10 @@ public class ClientPlayerTracker implements IPlayerTracker
|
||||
|
||||
Mekanism.jetpackOn.clear();
|
||||
Mekanism.gasmaskOn.clear();
|
||||
|
||||
Mekanism.proxy.loadConfiguration();
|
||||
|
||||
System.out.println("[Mekanism] Reloaded config.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user