Skip to content

Commit

Permalink
Change throwing an exception to asserting false when deserializing
Browse files Browse the repository at this point in the history
  • Loading branch information
Burbulinis committed Jan 22, 2025
1 parent 636d9fd commit 8aae827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ch/njol/skript/classes/data/JavaClasses.java
Original file line number Diff line number Diff line change
Expand Up @@ -843,8 +843,8 @@ public Fields serialize(UUID uuid) {
}

@Override
public void deserialize(UUID o, Fields f) throws NotSerializableException {
throw new NotSerializableException();
public void deserialize(UUID o, Fields f) {
assert false;
}

@Override
Expand Down

0 comments on commit 8aae827

Please sign in to comment.