Remove unneeded entity spawn debug logging.

This commit is contained in:
Player 2014-04-03 21:00:42 +02:00
parent 37a81d04d9
commit 2e6b7e2eb5
1 changed files with 0 additions and 2 deletions

View File

@ -57,7 +57,6 @@ public class EntitySpawnHandler extends SimpleChannelInboundHandler<FMLMessage.E
private void spawnEntity(FMLMessage.EntitySpawnMessage spawnMsg)
{
System.out.println("Spawning entity on client");
ModContainer mc = Loader.instance().getIndexedModList().get(spawnMsg.modId);
EntityRegistration er = EntityRegistry.instance().lookupModSpawn(mc, spawnMsg.modEntityTypeId);
WorldClient wc = FMLClientHandler.instance().getWorldClient();
@ -116,7 +115,6 @@ public class EntitySpawnHandler extends SimpleChannelInboundHandler<FMLMessage.E
((IEntityAdditionalSpawnData) entity).readSpawnData(spawnMsg.dataStream);
}
wc.addEntityToWorld(spawnMsg.entityId, entity);
System.out.println("Entity spawned on client");
} catch (Exception e)
{
FMLLog.log(Level.ERROR, e, "A severe problem occurred during the spawning of an entity");