mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
Fixed some items dcing client (#330)
This commit is contained in:
@@ -190,7 +190,11 @@ public final class ItemDef {
|
||||
|
||||
cacheIndex = (cacheIndex + 1) % 10;
|
||||
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.setDefaults();
|
||||
itemDef.readValues(stream);
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user