560 B
560 B
KlonlanmaLal.js — createCloneEntity() (satır 182)
function createCloneEntity(c, owner, x, y, z, index) {
var actorResult = createActorClone(c, owner, x, y, z, index);
if (actorResult.entity) return actorResult.entity;
var npcResult = createNpcClone(c, owner, x, y, z, index);
if (npcResult.entity) return npcResult.entity;
sendSpawnErrorOnce(owner, "Actor: " + actorResult.error + " | NPC: " + npcResult.error);
return null;
}