mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-05 23:33:36 +00:00
fancynpcs: Fix translations for turn_to_player command
This commit is contained in:
@@ -1 +1 @@
|
||||
2.7.0.286
|
||||
2.7.0.287
|
||||
@@ -34,7 +34,7 @@ public enum TurnToPlayerCMD {
|
||||
} else if (state == null) {
|
||||
// If no state provided, just display current state
|
||||
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())
|
||||
.send(sender);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user