Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
The Judge committed Apr 13, 2024
1 parent c22a0b5 commit 9ff174e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/pojlib/instance/MinecraftInstances.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public Instance load(String name) {
}

public Instance[] toArray() {
if(instances == null) {
return new Instance[0];
}
return instances.toArray(new Instance[0]);
}

Expand Down

0 comments on commit 9ff174e

Please sign in to comment.