diff options
author | Tahg <tahgtahv@gmail.com> | 2011-02-21 19:43:12 -0500 |
---|---|---|
committer | Tahg <tahgtahv@gmail.com> | 2011-02-21 19:57:23 -0500 |
commit | 96435cfc76e129f278febe8c478a8cf6cc48e875 (patch) | |
tree | 54ee3a739a8f3be703b9af6478a4a72dbbd36691 /src/main/java/net/minecraft/server/EntityHuman.java | |
parent | f659231e347f0e06a24f94d72136d3dfd9f0c7c4 (diff) | |
download | craftbukkit-96435cfc76e129f278febe8c478a8cf6cc48e875.tar craftbukkit-96435cfc76e129f278febe8c478a8cf6cc48e875.tar.gz craftbukkit-96435cfc76e129f278febe8c478a8cf6cc48e875.tar.lz craftbukkit-96435cfc76e129f278febe8c478a8cf6cc48e875.tar.xz craftbukkit-96435cfc76e129f278febe8c478a8cf6cc48e875.zip |
refactor Items
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityHuman.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityHuman.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java index 66bae6e1..c4815735 100644 --- a/src/main/java/net/minecraft/server/EntityHuman.java +++ b/src/main/java/net/minecraft/server/EntityHuman.java @@ -4,8 +4,8 @@ import java.util.List; // CraftBukkit start import org.bukkit.craftbukkit.CraftServer; +import org.bukkit.craftbukkit.entity.CraftItem; import org.bukkit.craftbukkit.TrigMath; -import org.bukkit.craftbukkit.entity.CraftItemDrop; import org.bukkit.entity.Player; import org.bukkit.event.entity.EntityDamageByEntityEvent; import org.bukkit.event.entity.EntityDamageEvent; @@ -223,7 +223,7 @@ public abstract class EntityHuman extends EntityLiving { // CraftBukkit start Player player = (Player)this.getBukkitEntity(); CraftServer server = ((WorldServer)world).getServer(); - CraftItemDrop drop = new CraftItemDrop(server, entityitem); + CraftItem drop = new CraftItem(server, entityitem); PlayerDropItemEvent event = new PlayerDropItemEvent(player, drop); server.getPluginManager().callEvent(event); |