mirror of
https://github.com/plexusorg/ItemizerX.git
synced 2024-11-24 21:25:02 +00:00
FIx initial errors
This commit is contained in:
parent
72218f9268
commit
dc1b460c6a
@ -20,35 +20,43 @@ public class ItemizerX extends JavaPlugin {
|
||||
case "v1_20_R1": {
|
||||
getCommand("itemizer").setExecutor(new dev.plex.itemizerx.v1_20_R1.ItemizerXCommand());
|
||||
getCommand("itemizer").setTabCompleter(new dev.plex.itemizerx.v1_20_R1.ItemizerXTab());
|
||||
return;
|
||||
}
|
||||
case "v1_19_R3": {
|
||||
getCommand("itemizer").setExecutor(new dev.plex.itemizerx.v1_19_R3.ItemizerXCommand());
|
||||
getCommand("itemizer").setTabCompleter(new dev.plex.itemizerx.v1_19_R3.ItemizerXTab());
|
||||
return;
|
||||
}
|
||||
case "v1_19_R2": {
|
||||
getCommand("itemizer").setExecutor(new dev.plex.itemizerx.v1_19_R2.ItemizerXCommand());
|
||||
getCommand("itemizer").setTabCompleter(new dev.plex.itemizerx.v1_19_R2.ItemizerXTab());
|
||||
return;
|
||||
}
|
||||
case "v1_19_R1": {
|
||||
getCommand("itemizer").setExecutor(new dev.plex.itemizerx.v1_19_R1.ItemizerXCommand());
|
||||
getCommand("itemizer").setTabCompleter(new dev.plex.itemizerx.v1_19_R1.ItemizerXTab());
|
||||
return;
|
||||
}
|
||||
case "v1_18_R2": {
|
||||
getCommand("itemizer").setExecutor(new dev.plex.itemizerx.v1_18_R2.ItemizerXCommand());
|
||||
getCommand("itemizer").setTabCompleter(new dev.plex.itemizerx.v1_18_R2.ItemizerXTab());
|
||||
return;
|
||||
}
|
||||
case "v1_18_R1": {
|
||||
getCommand("itemizer").setExecutor(new dev.plex.itemizerx.v1_18_R1.ItemizerXCommand());
|
||||
getCommand("itemizer").setTabCompleter(new dev.plex.itemizerx.v1_18_R1.ItemizerXTab());
|
||||
return;
|
||||
}
|
||||
case "v1_17_R1": {
|
||||
getCommand("itemizer").setExecutor(new dev.plex.itemizerx.v1_17_R1.ItemizerXCommand());
|
||||
getCommand("itemizer").setTabCompleter(new dev.plex.itemizerx.v1_17_R1.ItemizerXTab());
|
||||
return;
|
||||
}
|
||||
default:
|
||||
default: {
|
||||
getLogger().severe("You are trying to run ItemizerX on an incompatible server version.");
|
||||
getLogger().severe("ItemizerX only supports versions 1.17 to 1.20, disabling plugin.");
|
||||
getServer().getPluginManager().disablePlugin(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
name: ItemizerX
|
||||
version: 3.0
|
||||
api-version: 1.20
|
||||
version: 2.0
|
||||
api-version: 1.17
|
||||
description: A rewrite of Itemizer
|
||||
author: Focusvity, Telesphoreo
|
||||
main: dev.plex.itemizerx.ItemizerX
|
||||
folia-supported: true
|
||||
softdepend:
|
||||
- CoreProtect
|
||||
commands:
|
||||
|
Loading…
Reference in New Issue
Block a user