diff --git a/src/resources/objects/SWGSet.java b/src/resources/objects/SWGSet.java index 40f688f3..82faebcf 100644 --- a/src/resources/objects/SWGSet.java +++ b/src/resources/objects/SWGSet.java @@ -248,7 +248,7 @@ public class SWGSet implements Set, Serializable { } private byte[] item(int type, Object index, byte[] data, boolean useIndex, boolean useData) { - if (useIndex && ((index instanceof IDelta) || !valid(index))) { + if (useIndex && !valid(index)) { throw new IllegalArgumentException(); }