mirror of
https://github.com/CarmJos/cn2b2t-project.git
synced 2026-06-04 08:48:16 +08:00
修复无法记录Console的bug
This commit is contained in:
@@ -26,9 +26,9 @@ public class DeathListener implements Listener {
|
||||
meta.setLore(lore);
|
||||
skull.setItemMeta(meta);
|
||||
e.getDrops().add(skull);
|
||||
LoggerManager.log(LoggerManager.LogType.KILLED, e.getEntity(), e.getDeathMessage());
|
||||
LoggerManager.log(LoggerManager.LogType.KILLED, e.getEntity(), e.getDeathMessage() + e.getEntity().getLocation().toString());
|
||||
} else {
|
||||
LoggerManager.log(LoggerManager.LogType.DEATH, e.getEntity(), e.getDeathMessage());
|
||||
LoggerManager.log(LoggerManager.LogType.DEATH, e.getEntity(), e.getDeathMessage() + e.getEntity().getLocation().toString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user