feat: disable fishring rod crafting

This commit is contained in:
Simon Giesel 2020-05-04 11:18:07 +02:00
parent 11f4fa1c70
commit dda0d5cb01

View file

@ -5,6 +5,7 @@ import java.io.IOException;
import java.util.ArrayList;
import org.bukkit.Difficulty;
import org.bukkit.NamespacedKey;
import org.bukkit.World;
import org.bukkit.World.Environment;
import org.bukkit.configuration.file.FileConfiguration;
@ -50,6 +51,7 @@ public class Varo extends JavaPlugin {
world.setDifficulty(Difficulty.HARD);
}
}
getServer().removeRecipe(NamespacedKey.minecraft("fishing_rod"));
}
@Override