Improve NPC pseudo-respawning

In initial testing, longer periods were better. However, that was before
a lot of recoding... shorter periods are now superior and keeping
significantly more NPCs visible (When dealing with batches so large that
the system fails to load them all)
This commit is contained in:
mcmonkey4eva 2014-12-11 15:56:10 -08:00
parent 674bb60287
commit 2ecddf6f87
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ public class HumanController extends AbstractEntityController {
NMS.sendPlayerlistPacket(false, null, npc);
}
}
}, 60);
}, 2);
return handle.getBukkitEntity();
}

View File

@ -512,7 +512,7 @@ public class NMS {
sendPlayerlistPacket(false, player, npc);
}
}
}, 61);
}, 2);
}
public static org.bukkit.entity.Entity spawnCustomEntity(org.bukkit.World world, Location at,