mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-11-11 01:17:16 +00:00
Fix a check not done for setEnraged
This commit is contained in:
parent
f229b25c71
commit
5f2fb5fc54
2 changed files with 6 additions and 4 deletions
2
pom.xml
2
pom.xml
|
@ -5,7 +5,7 @@
|
|||
<!-- A good example on why temporary names for project identification shouldn't be used -->
|
||||
<groupId>LibsDisguises</groupId>
|
||||
<artifactId>LibsDisguises</artifactId>
|
||||
<version>10.0.17</version>
|
||||
<version>10.0.17-SNAPSHOT</version>
|
||||
|
||||
<build>
|
||||
<defaultGoal>exec:java clean install</defaultGoal>
|
||||
|
|
|
@ -57,9 +57,11 @@ public class InsentientWatcher extends LivingWatcher {
|
|||
|
||||
setInsentientFlag(4, enraged);
|
||||
|
||||
// TODO Check if a less hacky fix is possible
|
||||
if (!enraged) {
|
||||
DisguiseUtilities.refreshTrackers(getDisguise());
|
||||
if (!getDisguise().isDisguiseInUse() || enraged) {
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO Check if a less hacky fix is possible
|
||||
DisguiseUtilities.refreshTrackers(getDisguise());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue