fixed treasure chest having null as their drop item

Closes #703
This commit is contained in:
Ellpeck 2017-03-28 17:18:21 +02:00
parent 9d2b2b9c47
commit 66cc7f59b3

View file

@ -23,6 +23,7 @@ import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.init.SoundEvents;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.Item;
@ -61,7 +62,7 @@ public class BlockTreasureChest extends BlockBase{
@Override
public Item getItemDropped(IBlockState state, Random rand, int par3){
return null;
return Items.AIR;
}
@Override