Resolves FS-333

This commit is contained in:
Video 2022-11-13 06:31:45 -07:00 committed by Paul Reilly
parent b804459dcc
commit 760ab3c622

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);