SPIGOT-3751: BossBar flag methods reversed

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2018-01-10 12:40:38 +11:00
parent 7e3f873771
commit b7e9ff9023

View file

@ -103,13 +103,13 @@ public class CraftBossBar implements BossBar {
@Override
public void addFlag(BarFlag flag) {
flags.remove(flag);
flags.add(flag);
updateFlags();
}
@Override
public void removeFlag(BarFlag flag) {
flags.add(flag);
flags.remove(flag);
updateFlags();
}