This was preventing Plex from starting up

This commit is contained in:
Telesphoreo 2022-04-21 20:35:53 -05:00
parent 629919673a
commit 316b0a4159
1 changed files with 2 additions and 2 deletions

View File

@ -22,10 +22,10 @@ public class BukkitTelnetModule extends PlexModule
@Override @Override
public void enable() public void enable()
{ {
if (getPlex().getSystem().equalsIgnoreCase("permissions") && !Bukkit.getPluginManager().isPluginEnabled("Vault")) /*if (getPlex().getSystem().equalsIgnoreCase("permissions") && !Bukkit.getPluginManager().isPluginEnabled("Vault"))
{ {
throw new RuntimeException("Plex-BukkitTelnet requires the 'Vault' plugin as well as a Permissions plugin that hooks into 'Vault.' We recommend LuckPerms!"); throw new RuntimeException("Plex-BukkitTelnet requires the 'Vault' plugin as well as a Permissions plugin that hooks into 'Vault.' We recommend LuckPerms!");
} }*/
if (!Bukkit.getPluginManager().isPluginEnabled("BukkitTelnet")) if (!Bukkit.getPluginManager().isPluginEnabled("BukkitTelnet"))
{ {