Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
2.9.8-rc2 - Fixes
Browse files Browse the repository at this point in the history
- Fixed disabled books being shown and causing errors.
  • Loading branch information
Puyodead1 committed Nov 4, 2019
1 parent 95a7dbe commit 5336e88
Show file tree
Hide file tree
Showing 5 changed files with 235 additions and 125 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>me.puyodead1</groupId>
<artifactId>RPBookGUI</artifactId>
<version>2.9.8-h1</version>
<version>2.9.8-rc2</version>
<name>RPBookGUI</name>
<repositories>
<repository>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
|| !rpbgConfig.getBoolean("settings.use permissions")) {
String arg = args[0];
arg = arg.substring(0, 1).toUpperCase() + arg.substring(1, arg.length()).toLowerCase();
CustomEnchant ce = RPStorage.valueOfCustomEnchant(arg);
CustomEnchant ce = RPStorage.valueOfCustomEnchant(arg, true);
EnchantRarity rarity = RPStorage.valueOfEnchantRarity(ce);
player.sendMessage(rarity != null
? RPBookGUIUtils
Expand Down
Loading

0 comments on commit 5336e88

Please sign in to comment.