From 788bbf4b4e17a6d491aae81826abffd0ff998f7c Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 23 Jun 2017 04:21:52 +1200 Subject: [PATCH] Make the old config option work for both disguise blowns --- src/me/libraryaddict/disguise/DisguiseConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/DisguiseConfig.java b/src/me/libraryaddict/disguise/DisguiseConfig.java index 98da0d9f..a20b859c 100644 --- a/src/me/libraryaddict/disguise/DisguiseConfig.java +++ b/src/me/libraryaddict/disguise/DisguiseConfig.java @@ -159,7 +159,8 @@ public class DisguiseConfig { setMonstersIgnoreDisguises(config.getBoolean("MonstersIgnoreDisguises")); setDisguiseBlownWhenAttacking( config.getBoolean("BlowDisguises", config.getBoolean("BlowDisguisesWhenAttacking"))); - setDisguiseBlownWhenAttacked(config.getBoolean("BlowDisguisesWhenAttacked")); + setDisguiseBlownWhenAttacked( + config.getBoolean("BlowDisguises", config.getBoolean("BlowDisguisesWhenAttacked"))); setKeepDisguiseOnPlayerDeath(config.getBoolean("KeepDisguises.PlayerDeath")); setMiscDisguisesForLivingEnabled(config.getBoolean("MiscDisguisesForLiving")); setMovementPacketsEnabled(config.getBoolean("PacketsEnabled.Movement"));