mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-12-23 09:31:46 +00:00
Allow not officially supported server versions
As ShopChest is now using reflection, if the NMS code didn't change much in the new version, it may work (except for unknown item names)
This commit is contained in:
parent
312e7c9dca
commit
417aaa36d3
@ -135,10 +135,10 @@ public class ShopChest extends JavaPlugin {
|
||||
case "v1_10_R1":
|
||||
break;
|
||||
default:
|
||||
debug("Incompatible Server Version: " + Utils.getServerVersion());
|
||||
getLogger().severe("Incompatible Server Version: " + Utils.getServerVersion() + "!");
|
||||
getServer().getPluginManager().disablePlugin(this);
|
||||
return;
|
||||
debug("Server version not officially supported: " + Utils.getServerVersion() + "!");
|
||||
debug("Plugin may still work, but more errors are expected!");
|
||||
getLogger().warning("Server version not officially supported: " + Utils.getServerVersion() + "!");
|
||||
getLogger().warning("Plugin may still work, but more errors are expected!");
|
||||
}
|
||||
|
||||
debug("Loading utils and extras...");
|
||||
|
Loading…
Reference in New Issue
Block a user