mirror of
https://github.com/plexusorg/ItemizerX.git
synced 2024-12-22 01:47:37 +00:00
Add placeholder files for 1.21
This commit is contained in:
parent
21c12f7673
commit
8a691005b8
@ -70,7 +70,7 @@ bukkit {
|
||||
|
||||
// Adapted from PlotSquared
|
||||
val supportedVersions =
|
||||
listOf("1.19.4", "1.20", "1.20.1", "1.20.2", "1.20.4", "1.20.6")
|
||||
listOf("1.20.2", "1.20.4", "1.20.6", "1.21")
|
||||
tasks {
|
||||
supportedVersions.forEach {
|
||||
register<RunServer>("runServer-$it") {
|
||||
@ -104,6 +104,7 @@ dependencies {
|
||||
implementation("org.bstats:bstats-base:3.0.2")
|
||||
implementation("org.bstats:bstats-bukkit:3.0.2")
|
||||
implementation(project(path = ":shared", configuration = "shadow"))
|
||||
implementation(project(path = ":v1_21_R1", configuration = "shadow"))
|
||||
implementation(project(path = ":v1_20_R4", configuration = "shadow"))
|
||||
implementation(project(path = ":v1_20_R3", configuration = "shadow"))
|
||||
implementation(project(path = ":v1_20_R2", configuration = "shadow"))
|
||||
|
@ -4,6 +4,7 @@ plugins {
|
||||
|
||||
rootProject.name = "ItemizerX"
|
||||
include("shared")
|
||||
include("v1_21_R1")
|
||||
include("v1_20_R4")
|
||||
include("v1_20_R3")
|
||||
include("v1_20_R2")
|
||||
|
@ -26,11 +26,16 @@ public class ItemizerX extends JavaPlugin
|
||||
getCommand("itemizer").setTabCompleter(new ItemizerXTab());
|
||||
switch (getServerVersion())
|
||||
{
|
||||
/*case "1.21" ->
|
||||
{
|
||||
getCommand("itemizer").setExecutor(new ItemizerXCommand());
|
||||
attr = new dev.plex.itemizerx.v1_21_R1.AttributeManager();
|
||||
}
|
||||
case "1.20.5", "1.20.6" ->
|
||||
{
|
||||
getCommand("itemizer").setExecutor(new ItemizerXCommand());
|
||||
attr = new dev.plex.itemizerx.v1_20_R4.AttributeManager();
|
||||
}
|
||||
}*/
|
||||
case "1.20.4" ->
|
||||
{
|
||||
getCommand("itemizer").setExecutor(new ItemizerXCommand());
|
||||
@ -44,7 +49,7 @@ public class ItemizerX extends JavaPlugin
|
||||
default ->
|
||||
{
|
||||
getLogger().severe("You are trying to run ItemizerX on an incompatible server version.");
|
||||
getLogger().severe("ItemizerX only supports versions 1.20.2 to 1.20.6, disabling plugin.");
|
||||
getLogger().severe("ItemizerX only supports versions 1.20.2 to 1.21, disabling plugin.");
|
||||
getServer().getPluginManager().disablePlugin(this);
|
||||
}
|
||||
}
|
||||
|
3
v1_21_R1/build.gradle.kts
Normal file
3
v1_21_R1/build.gradle.kts
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies {
|
||||
paperweight.paperDevBundle("1.21-R0.1-SNAPSHOT")
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package dev.plex.itemizerx.v1_21_R1;
|
||||
|
||||
public class Main
|
||||
{
|
||||
}
|
Loading…
Reference in New Issue
Block a user