feat: disable fishring rod crafting
This commit is contained in:
parent
11f4fa1c70
commit
dda0d5cb01
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ import java.io.IOException;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import org.bukkit.Difficulty;
|
import org.bukkit.Difficulty;
|
||||||
|
import org.bukkit.NamespacedKey;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.World.Environment;
|
import org.bukkit.World.Environment;
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
|
@ -50,6 +51,7 @@ public class Varo extends JavaPlugin {
|
||||||
world.setDifficulty(Difficulty.HARD);
|
world.setDifficulty(Difficulty.HARD);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
getServer().removeRecipe(NamespacedKey.minecraft("fishing_rod"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue