mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 15:26:51 +00:00
Fix NPE on Multiverse core link
This commit is contained in:
1 parent
24480ef13a
commit
1421869094
1 file changed
+10
-2
@@ -111,8 +111,16 @@ public class MultiverseCoreLink
|
||||
|
||||
public String getWorldNameType(String worldName, String defaultType)
|
||||
{
|
||||
String t = worldNameTypes.get(worldName);
|
||||
return t == null ? defaultType : t;
|
||||
try
|
||||
{
|
||||
String t = worldNameTypes.get(worldName);
|
||||
return t == null ? defaultType : t;
|
||||
}
|
||||
|
||||
catch(Throwable e)
|
||||
{
|
||||
return defaultType;
|
||||
}
|
||||
}
|
||||
|
||||
public boolean supported()
|
||||
|
||||
Reference in new issue
Block a user