mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43: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) {
|
} 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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user