Somewhat fix #622
This commit is contained in:
parent
d3d4df2d65
commit
0f84008abd
@ -796,7 +796,9 @@ public abstract class Disguise {
|
|||||||
getEntity().removeMetadata("LastDisguise", LibsDisguises.getInstance());
|
getEntity().removeMetadata("LastDisguise", LibsDisguises.getInstance());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (DisguiseConfig.getPvPTimer() > 0) {
|
||||||
getEntity().setMetadata("LastDisguise", new FixedMetadataValue(LibsDisguises.getInstance(), System.currentTimeMillis()));
|
getEntity().setMetadata("LastDisguise", new FixedMetadataValue(LibsDisguises.getInstance(), System.currentTimeMillis()));
|
||||||
|
}
|
||||||
|
|
||||||
if (NmsVersion.v1_13.isSupported()) {
|
if (NmsVersion.v1_13.isSupported()) {
|
||||||
removeBossBar();
|
removeBossBar();
|
||||||
|
Loading…
Reference in New Issue
Block a user