diff options
author | DoKM <mcazzyman@gmail.com> | 2021-08-04 16:43:51 +0200 |
---|---|---|
committer | DoKM <mcazzyman@gmail.com> | 2021-08-04 16:43:51 +0200 |
commit | 9370c7ce7b28ab766a3e4d6c97478456b251d9cf (patch) | |
tree | aa524039a8d4644019f5688bbdda64516daed656 | |
parent | c4fb9b642b7c5281c008cb25f82a9332a95eb775 (diff) | |
download | NotEnoughUpdates-9370c7ce7b28ab766a3e4d6c97478456b251d9cf.tar.gz NotEnoughUpdates-9370c7ce7b28ab766a3e4d6c97478456b251d9cf.tar.bz2 NotEnoughUpdates-9370c7ce7b28ab766a3e4d6c97478456b251d9cf.zip |
remove left overs from negative cape hotfix
3 files changed, 4 insertions, 12 deletions
diff --git a/Update Notes/2.0-Pre31.md b/Update Notes/2.0-Pre31.md index 7475757e..e9a7db37 100644 --- a/Update Notes/2.0-Pre31.md +++ b/Update Notes/2.0-Pre31.md @@ -33,9 +33,7 @@ - Fixed dungeon win overlay. - Remove description and price tooltip from backpack/personalvault icon in /pv. - Fixed Typo in NEUButtons Dungeon preset catacombs floor 7. (jani270) -- Fixed chroma speed, should work as expected instead of the otherway around. - Fixed fastrender check for cosmetics gui and profile viewer. - - Change skyclient shader. (nacrt) - Added a hidden toggle to disable the negative cape (replaced with null cape (cause i thought it looked nice)) as a user was not able to play due to a graphical bug that caused their screen to turn full green. - Maybe fixed neu's slotlocking in dungeons. (limited testing) diff --git a/src/main/java/io/github/moulberry/notenoughupdates/cosmetics/CapeManager.java b/src/main/java/io/github/moulberry/notenoughupdates/cosmetics/CapeManager.java index 44958889..583e3715 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/cosmetics/CapeManager.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/cosmetics/CapeManager.java @@ -205,9 +205,7 @@ public class CapeManager { if(none) { localCape = null; } else { - if (!NotEnoughUpdates.INSTANCE.config.hidden.disableAllCapes) { - localCape = new MutablePair<>(new NEUCape(capename), capename); - } + localCape = new MutablePair<>(new NEUCape(capename), capename); } } else if(capeMap.containsKey(playerUUID)) { if(none) { @@ -217,9 +215,7 @@ public class CapeManager { capePair.setValue(capename); } } else if(!none) { - if (!NotEnoughUpdates.INSTANCE.config.hidden.disableAllCapes){ - capeMap.put(playerUUID, new MutablePair<>(new NEUCape(capename), capename)); - } + capeMap.put(playerUUID, new MutablePair<>(new NEUCape(capename), capename)); } } @@ -293,9 +289,7 @@ public class CapeManager { String selCape = NotEnoughUpdates.INSTANCE.config.hidden.selectedCape; if(selCape != null && !selCape.isEmpty()) { if(localCape == null) { - if (!NotEnoughUpdates.INSTANCE.config.hidden.disableAllCapes) { - localCape = new MutablePair<>(new NEUCape(selCape), selCape); - } + localCape = new MutablePair<>(new NEUCape(selCape), selCape); } else { localCape.setValue(selCape); } diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java b/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java index 0266772c..543d5bdd 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java @@ -291,7 +291,7 @@ public class NEUConfig extends Config { //These config options were added due to a graphical bug that caused the player to be unable to see the screen @Expose public boolean disableBrokenCapes = false; - @Expose public boolean disableAllCapes = false; + } private static ArrayList<String> createDefaultQuickCommands() { |