From 0aa264dd9df3205cf9641f052b6622fd36b811d5 Mon Sep 17 00:00:00 2001 From: jani270 <69345714+jani270@users.noreply.github.com> Date: Fri, 24 Dec 2021 14:10:39 +0100 Subject: Added custom 🦀 hat system (#39) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update NEUManager.java * Update 2.1.md * nopo asked --- src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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; -- cgit