mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Remove unneeded entity spawn debug logging.
This commit is contained in:
1 parent
c47fc3b382
commit
f77632df35
1 file changed
-2
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user