daily pastebin goal
50%
SHARE
TWEET

Untitled

a guest Jan 19th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static ObjectDef forID(int i) {
  2.         if (i > streamIndices.length)
  3.             i = streamIndices.length - 1;
  4.         for (int j = 0; j < 20; j++)
  5.             if (cache[j].type == i)
  6.                 return cache[j];
  7.         cacheIndex = (cacheIndex + 1) % 20;
  8.         ObjectDef class46 = cache[cacheIndex];
  9.         stream.currentOffset = streamIndices[i];
  10.         class46.type = i;
  11.         class46.setDefaults();
  12.         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. OK, I Understand
 
Top