mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 04:32:15 +00:00
19 lines
758 B
Diff
19 lines
758 B
Diff
--- ../src-base/minecraft_server/net/minecraft/src/EntityItem.java 0000-00-00 00:00:00.000000000 -0000
|
|
+++ ../src-work/minecraft_server/net/minecraft/src/EntityItem.java 0000-00-00 00:00:00.000000000 -0000
|
|
@@ -1,5 +1,7 @@
|
|
package net.minecraft.src;
|
|
|
|
+import cpw.mods.fml.server.FMLHandler;
|
|
+
|
|
public class EntityItem extends Entity
|
|
{
|
|
public ItemStack field_429_a;
|
|
@@ -145,6 +147,7 @@
|
|
|
|
if (this.field_433_ad == 0 && p_6093_1_.field_416_aj.func_201_a(this.field_429_a))
|
|
{
|
|
+ FMLHandler.instance().notifyItemPickup(this,p_6093_1_);
|
|
if (this.field_429_a.field_855_c == Block.field_582_K.field_573_bc)
|
|
{
|
|
p_6093_1_.func_27017_a(AchievementList.field_25131_c);
|