aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2021-12-24 14:10:39 +0100
committerGitHub <noreply@github.com>2021-12-24 14:10:39 +0100
commit0aa264dd9df3205cf9641f052b6622fd36b811d5 (patch)
treed309fcd50a8b9a3eea7c1ef1025ba25948a5d22f /src/main
parent58ff94539f7e9fc092c2755bb9aba884abe7f5ee (diff)
downloadNotEnoughUpdates-0aa264dd9df3205cf9641f052b6622fd36b811d5.tar.gz
NotEnoughUpdates-0aa264dd9df3205cf9641f052b6622fd36b811d5.tar.bz2
NotEnoughUpdates-0aa264dd9df3205cf9641f052b6622fd36b811d5.zip
Added custom 🦀 hat system (#39)
* Update NEUManager.java * Update 2.1.md * nopo asked
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java
index b129f133..cb01206e 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java
@@ -725,6 +725,10 @@ public class NEUManager {
break;
}
}
+ if ("PARTY_HAT_CRAB".equals(internalname) && (ea.getString("party_hat_color") != null)) {
+ String crabhat = ea.getString("party_hat_color");
+ internalname = "PARTY_HAT_CRAB" + "_" + crabhat.toUpperCase();
+ }
}
return internalname;