You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.2 KiB
30 lines
1.2 KiB
--- ../src-base/minecraft/net/minecraft/block/BlockBrewingStand.java |
|
+++ ../src-work/minecraft/net/minecraft/block/BlockBrewingStand.java |
|
@@ -20,7 +20,7 @@ |
|
import net.minecraft.util.AxisAlignedBB; |
|
import net.minecraft.util.IIcon; |
|
import net.minecraft.world.World; |
|
- |
|
+import net.minecraft.nbt.NBTTagCompound; |
|
public class BlockBrewingStand extends BlockContainer |
|
{ |
|
private Random field_149961_a = new Random(); |
|
@@ -126,6 +126,12 @@ |
|
entityitem.motionX = (double)((float)this.field_149961_a.nextGaussian() * f3); |
|
entityitem.motionY = (double)((float)this.field_149961_a.nextGaussian() * f3 + 0.2F); |
|
entityitem.motionZ = (double)((float)this.field_149961_a.nextGaussian() * f3); |
|
+ // Spigot Start |
|
+ if ( itemstack.hasTagCompound() ) |
|
+ { |
|
+ entityitem.getEntityItem().setTagCompound( (NBTTagCompound) itemstack.getTagCompound().copy() ); |
|
+ } |
|
+ // Spigot End |
|
p_149749_1_.spawnEntityInWorld(entityitem); |
|
} |
|
} |
|
@@ -177,4 +183,4 @@ |
|
{ |
|
return this.iconBrewingStandBase; |
|
} |
|
-} |
|
+}
|
|
|