Fixed some items dcing client (#330)

This commit is contained in:
Daniel Ginovker
2019-12-27 12:47:56 -05:00
committed by GitHub
parent 54dc827dfa
commit c87f135e97
2 changed files with 5 additions and 1 deletions
+5 -1
View File
@@ -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.