mirror of
https://github.com/Auxilor/EcoSkills.git
synced 2026-01-06 15:51:52 +00:00
Fixed more action bar bugs
This commit is contained in:
@@ -56,7 +56,7 @@ object ActionBarGamemodeListener : Listener {
|
||||
@EventHandler
|
||||
fun handle(event: PlayerGameModeChangeEvent) {
|
||||
if (event.newGameMode in setOf(GameMode.CREATIVE, GameMode.SPECTATOR)) {
|
||||
event.player.sendCompatibleActionBarMessage("")
|
||||
event.player.sendPersistentActionBar("")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user