fix mobs getting last dead player's death message
This commit is contained in:
@@ -107,10 +107,12 @@ public class SadMomentListener implements Listener {
|
|||||||
lore.add(message
|
lore.add(message
|
||||||
.decoration(TextDecoration.ITALIC, false)
|
.decoration(TextDecoration.ITALIC, false)
|
||||||
.color(NamedTextColor.GRAY)
|
.color(NamedTextColor.GRAY)
|
||||||
);
|
);
|
||||||
meta.lore(lore);
|
meta.lore(lore);
|
||||||
|
} else {
|
||||||
|
meta.lore(null);
|
||||||
}
|
}
|
||||||
nametag.setItemMeta(meta);
|
nametag .setItemMeta(meta);
|
||||||
return nametag;
|
return nametag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user