diff --git a/2006Redone Client/src/ItemDef.java b/2006Redone Client/src/ItemDef.java index 8f36f53f..d3dfba99 100644 --- a/2006Redone Client/src/ItemDef.java +++ b/2006Redone Client/src/ItemDef.java @@ -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); diff --git a/CompiledServer/production/2006rebotted/ItemDef.class b/CompiledServer/production/2006rebotted/ItemDef.class index 999169ce..24729584 100644 Binary files a/CompiledServer/production/2006rebotted/ItemDef.class and b/CompiledServer/production/2006rebotted/ItemDef.class differ