mirror of
https://github.com/SunNetservers/MiniGames.git
synced 2025-09-17 11:27:55 +02:00
Adds a message when a player joins an arena
This commit is contained in:
@@ -61,7 +61,7 @@ public abstract class AbstractArenaSession implements ArenaSession {
|
||||
case PERSONAL_BEST -> Message.RECORD_ACHIEVED_PERSONAL;
|
||||
default -> throw new IllegalStateException("Unexpected value: " + recordResult);
|
||||
};
|
||||
String recordInfo = recordInfoMessage.getMessage("{recordType}", type);
|
||||
String recordInfo = recordInfoMessage.getPartialMessage("{recordType}", type);
|
||||
|
||||
PlaceholderContainer placeholderContainer = new PlaceholderContainer().add("{gameMode}", gameModeString);
|
||||
placeholderContainer.add("{recordInfo}", recordInfo);
|
||||
|
Reference in New Issue
Block a user