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

Add version check

This commit is contained in:
svr333 2022-10-04 11:24:33 +02:00
parent 6c96210ddb
commit c9118a0fd0
No known key found for this signature in database
GPG Key ID: EA68733326BBA376

View File

@ -78,8 +78,10 @@ public class GrindStone extends MultiBlockMachine {
recipes.add(new ItemStack(Material.QUARTZ_BLOCK));
recipes.add(new ItemStack(Material.QUARTZ, 4));
recipes.add(new ItemStack(Material.BASALT, 2));
recipes.add(new ItemStack(Material.BLACKSTONE));
if (Slimefun.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_16)) {
recipes.add(new ItemStack(Material.BASALT, 2));
recipes.add(new ItemStack(Material.BLACKSTONE));
}
if (Slimefun.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_17)) {
recipes.add(new ItemStack(Material.AMETHYST_BLOCK));