mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 11:24:11 +01:00
SPIGOT-3751: BossBar flag methods reversed
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7e3f873771
commit
b7e9ff9023
1 changed files with 2 additions and 2 deletions
|
@ -103,13 +103,13 @@ public class CraftBossBar implements BossBar {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addFlag(BarFlag flag) {
|
public void addFlag(BarFlag flag) {
|
||||||
flags.remove(flag);
|
flags.add(flag);
|
||||||
updateFlags();
|
updateFlags();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void removeFlag(BarFlag flag) {
|
public void removeFlag(BarFlag flag) {
|
||||||
flags.add(flag);
|
flags.remove(flag);
|
||||||
updateFlags();
|
updateFlags();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue