mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-24 05:54:29 +00:00
Added activate/desactivate everywhere the old ProfilerRegistrar was called.
This commit is contained in:
1 parent
a9f4f7bea6
commit
812a9e29f5
7 files changed
+18
-3
No files matched your search
@@ -11,6 +11,7 @@ import net.minecraftforge.common.DimensionManager;
|
||||
import cpw.mods.fml.common.network.PacketDispatcher;
|
||||
import cpw.mods.fml.common.network.Player;
|
||||
import mcp.mobius.mobiuscore.profiler.ProfilerRegistrar;
|
||||
import mcp.mobius.mobiuscore.profiler_v2.ProfilerSection;
|
||||
import mcp.mobius.opis.modOpis;
|
||||
import mcp.mobius.opis.commands.server.CommandAmountEntities;
|
||||
import mcp.mobius.opis.data.client.DataCache;
|
||||
@@ -146,6 +147,7 @@ public class ServerMessageHandler {
|
||||
MetaManager.reset();
|
||||
modOpis.profilerRun = true;
|
||||
ProfilerRegistrar.turnOn();
|
||||
ProfilerSection.activateAll();
|
||||
OpisPacketHandler.sendPacketToAllSwing(NetDataValue.create(Message.STATUS_START, new SerialInt(modOpis.profilerMaxTicks)));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user