mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 14:00:26 +00:00
fix null pointer preventing the entity schema from generating (#1142)
This commit is contained in:
1 parent
d4986f42a6
commit
20ad4657a9
1 file changed
+2
-1
@@ -26,6 +26,7 @@ import org.bukkit.plugin.Plugin;
|
|||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
public class MythicMobsLink {
|
public class MythicMobsLink {
|
||||||
|
|
||||||
@@ -54,6 +55,6 @@ public class MythicMobsLink {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Collection<String> getMythicMobTypes() {
|
public Collection<String> getMythicMobTypes() {
|
||||||
return isEnabled() ? MythicBukkit.inst().getMobManager().getMobNames() : null;
|
return isEnabled() ? MythicBukkit.inst().getMobManager().getMobNames() : List.of();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user