fancynpcs: Fix translations for turn_to_player command

This commit is contained in:
Oliver
2025-07-31 13:41:33 +02:00
parent 68c65afead
commit ade386bef2
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
2.7.0.286 2.7.0.287

View File

@@ -34,7 +34,7 @@ public enum TurnToPlayerCMD {
} else if (state == null) { } else if (state == null) {
// If no state provided, just display current state // If no state provided, just display current state
boolean currentState = npc.getData().isTurnToPlayer(); boolean currentState = npc.getData().isTurnToPlayer();
translator.translate(currentState ? "npc_turn_to_player_status_true" : "npc_turn_to_player_status_false") translator.translate(currentState ? "npc_turn_to_player_set_true" : "npc_turn_to_player_set_false")
.replace("npc", npc.getData().getName()) .replace("npc", npc.getData().getName())
.send(sender); .send(sender);
} }