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

Commit 5336e88

Browse files
committed
2.9.8-rc2 - Fixes
- Fixed disabled books being shown and causing errors.
1 parent 95a7dbe commit 5336e88

File tree

5 files changed

+235
-125
lines changed

5 files changed

+235
-125
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>me.puyodead1</groupId>
77
<artifactId>RPBookGUI</artifactId>
8-
<version>2.9.8-h1</version>
8+
<version>2.9.8-rc2</version>
99
<name>RPBookGUI</name>
1010
<repositories>
1111
<repository>

src/main/java/io/github/puyodead1/rpbookgui/Commands/RarityInfo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
2525
|| !rpbgConfig.getBoolean("settings.use permissions")) {
2626
String arg = args[0];
2727
arg = arg.substring(0, 1).toUpperCase() + arg.substring(1, arg.length()).toLowerCase();
28-
CustomEnchant ce = RPStorage.valueOfCustomEnchant(arg);
28+
CustomEnchant ce = RPStorage.valueOfCustomEnchant(arg, true);
2929
EnchantRarity rarity = RPStorage.valueOfEnchantRarity(ce);
3030
player.sendMessage(rarity != null
3131
? RPBookGUIUtils

0 commit comments

Comments
 (0)