mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-04 05:50:56 +00:00
[WIP] Rename Entity.type -> Entity.kind
This commit is contained in:
@@ -275,7 +275,7 @@ void Chunking::createInstance(uint64_t instanceID) {
|
||||
BaseNPC* baseNPC = (BaseNPC*)ref.getEntity();
|
||||
|
||||
// make a copy of each NPC in the template chunks and put them in the new instance
|
||||
if (baseNPC->type == EntityType::MOB) {
|
||||
if (baseNPC->kind == EntityType::MOB) {
|
||||
if (((Mob*)baseNPC)->groupLeader != 0 && ((Mob*)baseNPC)->groupLeader != npcID)
|
||||
continue; // follower; don't copy individually
|
||||
|
||||
|
||||
Reference in New Issue
Block a user