SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- public static ObjectDef forID(int i) {
- if (i > streamIndices.length)
- i = streamIndices.length - 1;
- for (int j = 0; j < 20; j++)
- if (cache[j].type == i)
- return cache[j];
- cacheIndex = (cacheIndex + 1) % 20;
- ObjectDef class46 = cache[cacheIndex];
- stream.currentOffset = streamIndices[i];
- class46.type = i;
- class46.setDefaults();
- class46.readValues(stream);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.