diff options
author | DoKM <mcazzyman@gmail.com> | 2021-08-30 21:51:35 +0200 |
---|---|---|
committer | DoKM <mcazzyman@gmail.com> | 2021-08-30 21:51:35 +0200 |
commit | d7f9b39792d17d8ee204a46b5ff8be3c217ea2a1 (patch) | |
tree | 525107665eb6d487848ae306cf830194298995ba | |
parent | 0c6cd3695ff2b78e11fe6457a31dc8c7575330ff (diff) | |
download | NotEnoughUpdates-d7f9b39792d17d8ee204a46b5ff8be3c217ea2a1.tar.gz NotEnoughUpdates-d7f9b39792d17d8ee204a46b5ff8be3c217ea2a1.tar.bz2 NotEnoughUpdates-d7f9b39792d17d8ee204a46b5ff8be3c217ea2a1.zip |
Quick fix
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/NEUEventListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUEventListener.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUEventListener.java index 4fdddffc..97c31a58 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NEUEventListener.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUEventListener.java @@ -2399,7 +2399,7 @@ public class NEUEventListener { if (petInfo.has("exp") && petInfo.get("exp").isJsonPrimitive()) { JsonPrimitive exp = petInfo.getAsJsonPrimitive("exp"); String petName = NotEnoughUpdates.INSTANCE.manager.getInternalNameForItem(event.itemStack); - Utils.getRarityFromInt(Utils.checkItemTypePet(event.toolTip))).getAsInt(); + //Utils.getRarityFromInt(Utils.checkItemTypePet(event.toolTip))).getAsInt(); petlevel = GuiProfileViewer.getPetLevel(petName, Utils.getRarityFromInt(Utils.checkItemTypePet(event.toolTip)), exp.getAsLong()); } } |