Skip to content

Commit

Permalink
FIX forgotten allowed to fly actionBar
Browse files Browse the repository at this point in the history
  • Loading branch information
sanguine6660 committed Dec 19, 2023
1 parent 9d0fac6 commit 5e94a4d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ public PlayerFlyListener(IzanagiWorldGuardPlugin plugin) {
online.sendActionBar(MessageUtils.getComponentSerializer().deserialize(
GuardConstants.CHAT_PREFIX + "&aYou're allowed to fly now. &e(TODO translation)"
));
Bukkit.getScheduler().runTaskLater(getPlugin(), () -> online.sendActionBar(Component.empty()), 20*2);
}
});

Expand Down

0 comments on commit 5e94a4d

Please sign in to comment.