mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-01-28 00:15:59 +00:00
return item lore back rather than nulling it
This commit is contained in:
@@ -85,11 +85,6 @@ public class EntityDeath implements Listener {
|
||||
|
||||
List<String> newLore = toolStats.itemLore.addItemLore(meta, "{name}", mob, "dropped-by");
|
||||
|
||||
// if the list returned null, don't add it
|
||||
if (newLore == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (toolStats.config.getBoolean("enabled.dropped-by")) {
|
||||
meta.setLore(newLore);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user