mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-30 05:53:23 +01:00
Fix typo in iteminfo book generation message key
This commit is contained in:
parent
6ee7c4759a
commit
a0630db6f8
@ -26,7 +26,7 @@ public class Messages {
|
|||||||
public static Message iteminfo_shopname;
|
public static Message iteminfo_shopname;
|
||||||
public static Message iteminfo_repaircost;
|
public static Message iteminfo_repaircost;
|
||||||
public static Message iteminfo_book;
|
public static Message iteminfo_book;
|
||||||
public static Message iteminfo_book_generatopm;
|
public static Message iteminfo_book_generation;
|
||||||
public static Message iteminfo_lore;
|
public static Message iteminfo_lore;
|
||||||
|
|
||||||
public static Message METRICS;
|
public static Message METRICS;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
package com.Acrobot.ChestShop.Listeners;
|
package com.Acrobot.ChestShop.Listeners;
|
||||||
|
|
||||||
import com.Acrobot.Breeze.Utils.StringUtil;
|
import com.Acrobot.Breeze.Utils.StringUtil;
|
||||||
import com.Acrobot.ChestShop.Configuration.Messages;
|
|
||||||
import com.Acrobot.ChestShop.Events.ItemInfoEvent;
|
import com.Acrobot.ChestShop.Events.ItemInfoEvent;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -23,10 +22,9 @@ import static com.Acrobot.Breeze.Utils.NumberUtil.toRoman;
|
|||||||
import static com.Acrobot.Breeze.Utils.NumberUtil.toTime;
|
import static com.Acrobot.Breeze.Utils.NumberUtil.toTime;
|
||||||
import static com.Acrobot.Breeze.Utils.StringUtil.capitalizeFirstLetter;
|
import static com.Acrobot.Breeze.Utils.StringUtil.capitalizeFirstLetter;
|
||||||
import static com.Acrobot.ChestShop.Configuration.Messages.iteminfo_book;
|
import static com.Acrobot.ChestShop.Configuration.Messages.iteminfo_book;
|
||||||
import static com.Acrobot.ChestShop.Configuration.Messages.iteminfo_book_generatopm;
|
import static com.Acrobot.ChestShop.Configuration.Messages.iteminfo_book_generation;
|
||||||
import static com.Acrobot.ChestShop.Configuration.Messages.iteminfo_lore;
|
import static com.Acrobot.ChestShop.Configuration.Messages.iteminfo_lore;
|
||||||
import static com.Acrobot.ChestShop.Configuration.Messages.iteminfo_repaircost;
|
import static com.Acrobot.ChestShop.Configuration.Messages.iteminfo_repaircost;
|
||||||
import static com.Acrobot.ChestShop.Configuration.Messages.replace;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Acrobot
|
* @author Acrobot
|
||||||
@ -110,7 +108,7 @@ public class ItemInfoListener implements Listener {
|
|||||||
"pages", String.valueOf(book.getPageCount())
|
"pages", String.valueOf(book.getPageCount())
|
||||||
);
|
);
|
||||||
if (book.hasGeneration()) {
|
if (book.hasGeneration()) {
|
||||||
iteminfo_book_generatopm.send(event.getSender(),
|
iteminfo_book_generation.send(event.getSender(),
|
||||||
"generation", StringUtil.capitalizeFirstLetter(book.getGeneration().name(), '_')
|
"generation", StringUtil.capitalizeFirstLetter(book.getGeneration().name(), '_')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ iteminfo_book: |-
|
|||||||
&fBook Title: &7%title
|
&fBook Title: &7%title
|
||||||
&fBook Author: &7%author
|
&fBook Author: &7%author
|
||||||
&fBook Pages: &7%pages
|
&fBook Pages: &7%pages
|
||||||
iteminfo_book_generatopm: "&fBook Generation: &7%generation"
|
iteminfo_book_generation: "&fBook Generation: &7%generation"
|
||||||
iteminfo_lore: |-
|
iteminfo_lore: |-
|
||||||
&fLore:
|
&fLore:
|
||||||
&r%lore
|
&r%lore
|
||||||
|
Loading…
Reference in New Issue
Block a user