mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
add no other special buff item normaly show
Former-commit-id: 4a675adfd80049dd6a5184b6b0af693bd18394fd
This commit is contained in:
1 parent
e5f8ad344a
commit
f0c17f7118
1 file changed
+4
@@ -621,6 +621,7 @@ public class Util {
|
||||
}
|
||||
|
||||
public static void sendItemholochat(ItemStack itemStack, Player player, String normalText) {
|
||||
try {
|
||||
String Itemname = null;
|
||||
List<String> Itemlore = new ArrayList<>();
|
||||
String finalItemdata = null;
|
||||
@@ -676,6 +677,9 @@ public class Util {
|
||||
HoverEvent he = new HoverEvent(HoverEvent.Action.SHOW_TEXT, cBuilder.create());
|
||||
normalmessage.setHoverEvent(he);
|
||||
player.spigot().sendMessage(normalmessage);
|
||||
}catch (Exception e) {
|
||||
player.sendMessage(normalText);
|
||||
}
|
||||
}
|
||||
private static String formatEnchLevel(Integer level) {
|
||||
switch (level) {
|
||||
|
||||
Reference in new issue
Block a user