aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-08-04 16:43:51 +0200
committerDoKM <mcazzyman@gmail.com>2021-08-04 16:43:51 +0200
commit9370c7ce7b28ab766a3e4d6c97478456b251d9cf (patch)
treeaa524039a8d4644019f5688bbdda64516daed656 /src/main/java
parentc4fb9b642b7c5281c008cb25f82a9332a95eb775 (diff)
downloadNotEnoughUpdates-9370c7ce7b28ab766a3e4d6c97478456b251d9cf.tar.gz
NotEnoughUpdates-9370c7ce7b28ab766a3e4d6c97478456b251d9cf.tar.bz2
NotEnoughUpdates-9370c7ce7b28ab766a3e4d6c97478456b251d9cf.zip
remove left overs from negative cape hotfix
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/cosmetics/CapeManager.java12
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java2
2 files changed, 4 insertions, 10 deletions
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() {