mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-28 23:15:53 -04:00
Fixed illegal argument exception in SWGSet
This commit is contained in:
@@ -248,7 +248,7 @@ public class SWGSet<E> implements Set<E>, 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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user