mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 03:22:19 +01:00
Clean-up some events to maintain general style
By: Andrew Ardill <andrew.ardill@gmail.com>
This commit is contained in:
parent
4ed2b5b754
commit
d1bb68a060
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ public class CraftEventFactory {
|
|||
}
|
||||
|
||||
public static EntityDeathEvent callEntityDeathEvent(EntityLiving victim, List<org.bukkit.inventory.ItemStack> drops) {
|
||||
CraftLivingEntity entity = (CraftLivingEntity)victim.getBukkitEntity();
|
||||
CraftLivingEntity entity = (CraftLivingEntity) victim.getBukkitEntity();
|
||||
EntityDeathEvent event = new EntityDeathEvent(entity, drops, victim.getExpReward());
|
||||
org.bukkit.World world = entity.getWorld();
|
||||
Bukkit.getServer().getPluginManager().callEvent(event);
|
||||
|
|
Loading…
Reference in a new issue