aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-08-30 21:51:35 +0200
committerDoKM <mcazzyman@gmail.com>2021-08-30 21:51:35 +0200
commitd7f9b39792d17d8ee204a46b5ff8be3c217ea2a1 (patch)
tree525107665eb6d487848ae306cf830194298995ba /src/main/java
parent0c6cd3695ff2b78e11fe6457a31dc8c7575330ff (diff)
downloadNotEnoughUpdates-d7f9b39792d17d8ee204a46b5ff8be3c217ea2a1.tar.gz
NotEnoughUpdates-d7f9b39792d17d8ee204a46b5ff8be3c217ea2a1.tar.bz2
NotEnoughUpdates-d7f9b39792d17d8ee204a46b5ff8be3c217ea2a1.zip
Quick fix
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NEUEventListener.java2
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());
}
}