Remove unneeded entity spawn debug logging.
This commit is contained in:
parent
37a81d04d9
commit
2e6b7e2eb5
1 changed files with 0 additions and 2 deletions
|
@ -57,7 +57,6 @@ public class EntitySpawnHandler extends SimpleChannelInboundHandler<FMLMessage.E
|
||||||
|
|
||||||
private void spawnEntity(FMLMessage.EntitySpawnMessage spawnMsg)
|
private void spawnEntity(FMLMessage.EntitySpawnMessage spawnMsg)
|
||||||
{
|
{
|
||||||
System.out.println("Spawning entity on client");
|
|
||||||
ModContainer mc = Loader.instance().getIndexedModList().get(spawnMsg.modId);
|
ModContainer mc = Loader.instance().getIndexedModList().get(spawnMsg.modId);
|
||||||
EntityRegistration er = EntityRegistry.instance().lookupModSpawn(mc, spawnMsg.modEntityTypeId);
|
EntityRegistration er = EntityRegistry.instance().lookupModSpawn(mc, spawnMsg.modEntityTypeId);
|
||||||
WorldClient wc = FMLClientHandler.instance().getWorldClient();
|
WorldClient wc = FMLClientHandler.instance().getWorldClient();
|
||||||
|
@ -116,7 +115,6 @@ public class EntitySpawnHandler extends SimpleChannelInboundHandler<FMLMessage.E
|
||||||
((IEntityAdditionalSpawnData) entity).readSpawnData(spawnMsg.dataStream);
|
((IEntityAdditionalSpawnData) entity).readSpawnData(spawnMsg.dataStream);
|
||||||
}
|
}
|
||||||
wc.addEntityToWorld(spawnMsg.entityId, entity);
|
wc.addEntityToWorld(spawnMsg.entityId, entity);
|
||||||
System.out.println("Entity spawned on client");
|
|
||||||
} catch (Exception e)
|
} catch (Exception e)
|
||||||
{
|
{
|
||||||
FMLLog.log(Level.ERROR, e, "A severe problem occurred during the spawning of an entity");
|
FMLLog.log(Level.ERROR, e, "A severe problem occurred during the spawning of an entity");
|
||||||
|
|
Loading…
Reference in a new issue