1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

Fix smithing table listener on 1.15 and below

This commit is contained in:
ybw0014 2021-10-22 07:22:57 +08:00
parent 9c3465e80f
commit 4ea652960b
No known key found for this signature in database
GPG Key ID: EC1F0076F4158D9C

View File

@ -611,7 +611,6 @@ public final class Slimefun extends JavaPlugin implements SlimefunAddon {
new CauldronListener(this); new CauldronListener(this);
new GrindstoneListener(this); new GrindstoneListener(this);
new CartographyTableListener(this); new CartographyTableListener(this);
new SmithingTableListener(this);
new ButcherAndroidListener(this); new ButcherAndroidListener(this);
new MiningAndroidListener(this); new MiningAndroidListener(this);
new NetworkListener(this, networkManager); new NetworkListener(this, networkManager);
@ -630,6 +629,7 @@ public final class Slimefun extends JavaPlugin implements SlimefunAddon {
// Piglins were added in 1.16 // Piglins were added in 1.16
if (minecraftVersion.isAtLeast(MinecraftVersion.MINECRAFT_1_16)) { if (minecraftVersion.isAtLeast(MinecraftVersion.MINECRAFT_1_16)) {
new PiglinListener(this); new PiglinListener(this);
new SmithingTableListener(this);
} }
// Item-specific Listeners // Item-specific Listeners