mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
Fixed some items dcing client
This commit is contained in:
@@ -190,7 +190,11 @@ public final class ItemDef {
|
|||||||
|
|
||||||
cacheIndex = (cacheIndex + 1) % 10;
|
cacheIndex = (cacheIndex + 1) % 10;
|
||||||
ItemDef itemDef = cache[cacheIndex];
|
ItemDef itemDef = cache[cacheIndex];
|
||||||
stream.currentOffset = streamIndices[i];
|
try {
|
||||||
|
stream.currentOffset = streamIndices[i];
|
||||||
|
} catch (Exception e) {
|
||||||
|
System.out.println("Itemdef issue? Apparently this ID is out of bounds: " + e);
|
||||||
|
}
|
||||||
itemDef.id = i;
|
itemDef.id = i;
|
||||||
itemDef.setDefaults();
|
itemDef.setDefaults();
|
||||||
itemDef.readValues(stream);
|
itemDef.readValues(stream);
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user