Add support for 1.19 specific features. (#239)

* Added support for 1.19 specific features.

* Removed leftover import from testing

* Added missing sculk materials for the catalyst and changed user field to #sculk

* Reverted version to v21.2

Co-authored-by: Intelli <6790859+Intelli@users.noreply.github.com>
This commit is contained in:
Ryan Huston 2022-12-07 20:26:45 -05:00 committed by GitHub
parent 319d104622
commit 3b349c9d07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 114 additions and 16 deletions

View file

@ -19,6 +19,7 @@ public class SpigotAdapter implements SpigotInterface {
public static final int SPIGOT_V1_16 = BukkitAdapter.BUKKIT_V1_16;
public static final int SPIGOT_V1_17 = BukkitAdapter.BUKKIT_V1_17;
public static final int SPIGOT_V1_18 = BukkitAdapter.BUKKIT_V1_18;
public static final int SPIGOT_V1_19 = BukkitAdapter.BUKKIT_V1_19;
public static void loadAdapter() {
int spigotVersion = ConfigHandler.SERVER_VERSION;
@ -38,6 +39,7 @@ public class SpigotAdapter implements SpigotInterface {
case SPIGOT_V1_16:
case SPIGOT_V1_17:
case SPIGOT_V1_18:
case SPIGOT_V1_19:
default:
SpigotAdapter.ADAPTER = new Spigot_v1_16();
break;