mirror of
https://github.com/Brettflan/WorldBorder.git
synced 2024-11-22 10:05:21 +01:00
Further Dynmap error catching
This commit is contained in:
parent
3c32f68a7d
commit
b42945d643
@ -59,6 +59,11 @@ public class DynMapFeatures
|
||||
Config.LogConfig("DynMap is available, but border display is currently disabled: you need DynMap v0.36 or newer.");
|
||||
return;
|
||||
}
|
||||
catch (NullPointerException ex)
|
||||
{
|
||||
Config.LogConfig("DynMap is present, but an NPE (type 1) was encountered while trying to integrate. Border display disabled.");
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
@ -67,7 +72,7 @@ public class DynMapFeatures
|
||||
}
|
||||
catch (NullPointerException ex)
|
||||
{
|
||||
Config.LogConfig("DynMap is present, but a NullPointerException was encountered while attempting to integrate. Border display disabled.");
|
||||
Config.LogConfig("DynMap is present, but an NPE (type 2) was encountered while trying to integrate. Border display disabled.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user