Adds a message when a player joins an arena

This commit is contained in:
2023-04-26 17:42:06 +02:00
parent 8d1b841619
commit 078a8ed007
4 changed files with 189 additions and 1 deletions

View File

@ -99,6 +99,7 @@ public class JoinDropperArenaCommand implements CommandExecutor {
} else {
// Make sure to update the state again in the air to remove a potential swimming state
newSession.getEntryState().setArenaState();
player.sendMessage(Message.SUCCESS_ARENA_JOINED.getMessage());
return true;
}
}

View File

@ -91,6 +91,7 @@ public class JoinParkourArenaCommand implements CommandExecutor {
} else {
// Make sure to update the state again in the air to remove a potential swimming state
newSession.getEntryState().setArenaState();
player.sendMessage(Message.SUCCESS_ARENA_JOINED.getMessage());
return true;
}
}