mirror of
https://github.com/SPAWNRYS-ban/FUCK-CustomDiscs.git
synced 2025-12-10 13:30:24 +05:00
Lang changes
This commit is contained in:
@@ -19,7 +19,6 @@ import org.bukkit.inventory.meta.ItemMeta;
|
||||
import org.bukkit.persistence.PersistentDataContainer;
|
||||
import org.bukkit.persistence.PersistentDataType;
|
||||
|
||||
import java.util.Objects;
|
||||
import java.util.Optional;
|
||||
|
||||
public class SetHornCooldownSubCommand extends CommandAPICommand {
|
||||
@@ -41,7 +40,7 @@ public class SetHornCooldownSubCommand extends CommandAPICommand {
|
||||
|
||||
private int onCommandPlayer(Player player, CommandArguments arguments) {
|
||||
if (!TypeChecker.isCustomGoatHornPlayer(player)) {
|
||||
player.sendMessage(LegacyComponentSerializer.legacyAmpersand().deserialize(Lang.PREFIX + Lang.NOT_HOLDING_MODIFIED_GOATHORN.toString()));
|
||||
player.sendMessage(LegacyComponentSerializer.legacyAmpersand().deserialize(Lang.PREFIX + Lang.NOT_HOLDING_CUSTOM_GOAT_HORN.toString()));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,9 +19,9 @@ public enum Lang {
|
||||
DISC_CONVERTED("disc-converted", "&aConverted disc to new format! &fThis is due to changes in newer Minecraft versions which introduced &ToolTipDisplay&f."),
|
||||
INVALID_RANGE("invalid-range","&rYou need to chose a range between 1 and %range_value%"),
|
||||
CREATE_CUSTOM_RANGE("create-custom-range", "&7Your range is set to: &a\"%custom_range%\"."),
|
||||
NOT_HOLDING_MODIFIED_GOATHORN("not-holding-modified-goathorn", "&cYou must hold a modified goat horn in your main hand."),
|
||||
INVALID_COOLDOWN("invalid-cooldown","&cYou need to chose a cooldown between 1 and %cooldown_value% (in ticks)"),
|
||||
CREATE_CUSTOM_GOAT_COOLDOWN("create-custom-goat-cooldown", "&7Your goat horn cooldown is set to: &a\"%custom_goat_cooldown%\"."),
|
||||
NOT_HOLDING_CUSTOM_GOAT_HORN("not-holding-custom-goathorn", "&cYou must hold a custom goat horn in your main hand."),
|
||||
INVALID_COOLDOWN("invalid-cooldown","&cYou need to chose a cooldown between 1 and %cooldown_value% (in ticks)."),
|
||||
CREATE_CUSTOM_GOAT_COOLDOWN("create-custom-goat-cooldown", "&7Your goat horn cooldown is set to: &a\"%custom_goat_cooldown%\" ticks."),
|
||||
CUSTOM_MUSIC_DISABLED("custom-music-disabled", "&7Custom music discs are disabled in the configuration."),
|
||||
CUSTOM_HEAD_DISABLED("custom-head-disabled", "&7Custom player heads are disabled in the configuration."),
|
||||
CUSTOM_HORN_DISABLED("custom-horn-disabled", "&7Custom goat horns are disabled in the configuration.");
|
||||
|
||||
@@ -14,9 +14,9 @@ now-playing: '&6Now playing: %song_name%'
|
||||
disc-converted: '&aConverted disc to new format! &fThis is due to changes in newer Minecraft versions which introduced &7ToolTipDisplay&f.'
|
||||
invalid-range: '&cYou need to chose a range between 1 and %range_value%'
|
||||
create-custom-range: '&7Your range is set to: &a"%custom_range%".'
|
||||
not-holding-modified-goathorn: '&cYou must hold a modified goat horn in your main hand.'
|
||||
invalid-cooldown: '&cYou need to chose a cooldown between 1 and %cooldown_value% (in ticks)'
|
||||
create-custom-goat-cooldown: '&7Your goat horn cooldown is set to: &a"%custom_goat_cooldown%".'
|
||||
not-holding-custom-goathorn: '&cYou must hold a custom goat horn in your main hand.'
|
||||
invalid-cooldown: '&cYou need to chose a cooldown between 1 and %cooldown_value% (in ticks).'
|
||||
create-custom-goat-cooldown: '&7Your goat horn cooldown is set to: &a"%custom_goat_cooldown%" ticks.'
|
||||
custom-music-disabled: '&7Custom music discs are disabled in the configuration.'
|
||||
custom-head-disabled: '&7Custom player heads are disabled in the configuration.'
|
||||
custom-horn-disabled: '&7Custom goat horns are disabled in the configuration.'
|
||||
Reference in New Issue
Block a user