mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-05 09:09:40 +01:00
Fixed a retarded set value
This commit is contained in:
parent
c1b0d1d0c4
commit
d141740aa0
@ -37,7 +37,7 @@ public abstract class Disguise {
|
||||
private boolean hideArmorFromSelf = DisguiseConfig.isHidingArmorFromSelf();
|
||||
private boolean hideHeldItemFromSelf = DisguiseConfig.isHidingHeldItemFromSelf();
|
||||
private boolean modifyBoundingBox = DisguiseConfig.isModifyBoundingBox();
|
||||
private boolean removeWhenInvalid;
|
||||
private boolean removeWhenInvalid = true;
|
||||
private boolean replaceSounds = DisguiseConfig.isSoundEnabled();
|
||||
private BukkitRunnable velocityRunnable;
|
||||
private boolean velocitySent = DisguiseConfig.isVelocitySent();
|
||||
@ -338,8 +338,11 @@ public abstract class Disguise {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Is the disguise removed when the disguised entity is invalid?
|
||||
*/
|
||||
public boolean isRemoveWhenInvalid() {
|
||||
return !removeWhenInvalid;
|
||||
return removeWhenInvalid;
|
||||
}
|
||||
|
||||
public boolean isSelfDisguiseSoundsReplaced() {
|
||||
|
Loading…
Reference in New Issue
Block a user