Resolves FS-333

This commit is contained in:
Video 2022-11-13 06:31:45 -07:00
parent f4cb736c17
commit d7fddc3765

View File

@ -101,14 +101,11 @@ public class BukkitTelnetBridge extends FreedomService
try try
{ {
final Plugin bukkitTelnet = server.getPluginManager().getPlugin("BukkitTelnet"); final Plugin bukkitTelnet = server.getPluginManager().getPlugin("BukkitTelnet");
if (bukkitTelnet != null)
{
if (bukkitTelnet instanceof BukkitTelnet) if (bukkitTelnet instanceof BukkitTelnet)
{ {
bukkitTelnetPlugin = (BukkitTelnet)bukkitTelnet; bukkitTelnetPlugin = (BukkitTelnet)bukkitTelnet;
} }
} }
}
catch (Exception ex) catch (Exception ex)
{ {
FLog.severe(ex); FLog.severe(ex);