add no other special buff item normaly show

Former-commit-id: 4a675adfd80049dd6a5184b6b0af693bd18394fd
This commit is contained in:
Ghost_chu committed 2018-08-02 19:20:09 +08:00
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) {