446 B
446 B
KlonlanmaLal.js — getEntity() (satır 645)
function getEntity(c, uuid) {
try {
if (!uuid) return null;
var e = c.getServer().getEntity(String(uuid));
if (!e) return null;
var data = e.getEntityData();
if (data && data.getBoolean(CLONE_MARK)) return e;
} catch (err) {}
return null;
}