mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-21 20:52:14 +00:00
Version bump
This commit is contained in:
1 parent
637b9cd5fc
commit
204fb7fdf3
2 files changed
+20
-2
No files matched your search
@@ -1,5 +1,7 @@
|
||||
package mcp.mobius.opis.data.server;
|
||||
|
||||
import java.util.concurrent.ConcurrentLinkedQueue;
|
||||
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import net.minecraft.entity.Entity;
|
||||
@@ -12,6 +14,21 @@ public class EntityProfiler extends AbstractProfiler implements IProfilerEntity
|
||||
|
||||
private Entity currentEntity = null;
|
||||
|
||||
/*
|
||||
private ConcurrentLinkedQueue<Integer> dataQueue = new ConcurrentLinkedQueue<Integer>();
|
||||
|
||||
final class UpdateData{
|
||||
final long update;
|
||||
final Entity entity;
|
||||
|
||||
public UpdateData(long update, Entity entity){
|
||||
this.update = update;
|
||||
this.entity = entity;
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public void FullEntityStart() {}
|
||||
|
||||
@@ -20,7 +37,8 @@ public class EntityProfiler extends AbstractProfiler implements IProfilerEntity
|
||||
|
||||
@Override
|
||||
public void Start(Entity ent) {
|
||||
//if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT) return;
|
||||
//if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT) return;
|
||||
|
||||
if ((!modOpis.profilerRun) || (OpisServerTickHandler.instance.profilerUpdateTickCounter % modOpis.profilerDelay != 0)) return;
|
||||
|
||||
if (ent.worldObj.isRemote) return;
|
||||
|
||||
@@ -67,7 +67,7 @@ import cpw.mods.fml.common.registry.LanguageRegistry;
|
||||
import cpw.mods.fml.common.registry.TickRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
|
||||
@Mod(modid="Opis", name="Opis", version="1.2.0_dev3_alpha")
|
||||
@Mod(modid="Opis", name="Opis", version="1.2.0")
|
||||
@NetworkMod(channels={"Opis", "Opis_Chunk"},clientSideRequired=false, serverSideRequired=false, connectionHandler=OpisConnectionHandler.class, packetHandler=OpisPacketHandler.class)
|
||||
|
||||
public class modOpis {
|
||||
|
||||
Reference in new issue
Block a user