Files

364 B
Raw Permalink Blame History

KlonlanmaLal.js — copyMorph() (satır 539)

← KlonlanmaLal.js · ← Master

function copyMorph(morph) {
    if (!morph) return null;
    try { return MorphUtils.copy(morph); } catch (e) {}

    try {
        return mappet.createMorph(morph.toNBT());
    } catch (e1) {}

    return morph;
}