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:
parent
6c96210ddb
commit
c9118a0fd0
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user