Files

608 B
Raw Permalink Blame History

chroma_trail.js — loadChunk() (satır 214)

← chroma_trail.js · ← Master

function loadChunk(w, x, z) {
    var mw = null;
    try { mw = w.getMinecraftWorld(); } catch (e) {}
    if (!mw) return false;
    var names = ["func_72964_e", "getChunkFromChunkCoords", "getChunk"];
    for (var i = 0; i < names.length; i++) {
        try {
            if (typeof mw[names[i]] === "function") {
                mw[names[i]](x >> 4, z >> 4);
                return true;
            }
        } catch (e1) {}
    }
    return false;
}