mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-13 10:25:14 +01:00
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().setMetadata("LastDisguise", new FixedMetadataValue(LibsDisguises.getInstance(), System.currentTimeMillis()));
|
||||
if (DisguiseConfig.getPvPTimer() > 0) {
|
||||
getEntity().setMetadata("LastDisguise", new FixedMetadataValue(LibsDisguises.getInstance(), System.currentTimeMillis()));
|
||||
}
|
||||
|
||||
if (NmsVersion.v1_13.isSupported()) {
|
||||
removeBossBar();
|
||||
|
Loading…
Reference in New Issue
Block a user