mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-22 10:22:29 +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":
|
case "v1_10_R1":
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
debug("Incompatible Server Version: " + Utils.getServerVersion());
|
debug("Server version not officially supported: " + Utils.getServerVersion() + "!");
|
||||||
getLogger().severe("Incompatible Server Version: " + Utils.getServerVersion() + "!");
|
debug("Plugin may still work, but more errors are expected!");
|
||||||
getServer().getPluginManager().disablePlugin(this);
|
getLogger().warning("Server version not officially supported: " + Utils.getServerVersion() + "!");
|
||||||
return;
|
getLogger().warning("Plugin may still work, but more errors are expected!");
|
||||||
}
|
}
|
||||||
|
|
||||||
debug("Loading utils and extras...");
|
debug("Loading utils and extras...");
|
||||||
|
Loading…
Reference in New Issue
Block a user