2014-03-09 23:14:45 +01:00
|
|
|
From 7c354310c7a32a8125491de00ba888d4fb77d538 Mon Sep 17 00:00:00 2001
|
2013-10-09 09:20:20 +02:00
|
|
|
From: md_5 <md_5@live.com.au>
|
|
|
|
Date: Wed, 9 Oct 2013 18:20:05 +1100
|
|
|
|
Subject: [PATCH] Fix BrewingStands Removing NBT / Potions
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/BlockBrewingStand.java b/src/main/java/net/minecraft/server/BlockBrewingStand.java
|
2013-12-01 06:02:56 +01:00
|
|
|
index 3287d77..eabea5a 100644
|
2013-10-09 09:20:20 +02:00
|
|
|
--- a/src/main/java/net/minecraft/server/BlockBrewingStand.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockBrewingStand.java
|
|
|
|
@@ -86,7 +86,13 @@ public class BlockBrewingStand extends BlockContainer {
|
|
|
|
entityitem.motX = (double) ((float) this.a.nextGaussian() * f3);
|
|
|
|
entityitem.motY = (double) ((float) this.a.nextGaussian() * f3 + 0.2F);
|
|
|
|
entityitem.motZ = (double) ((float) this.a.nextGaussian() * f3);
|
|
|
|
- world.addEntity(entityitem);
|
|
|
|
+ // Spigot Start
|
|
|
|
+ if ( itemstack.hasTag() )
|
|
|
|
+ {
|
|
|
|
+ entityitem.getItemStack().setTag( (NBTTagCompound) itemstack.getTag().clone() );
|
|
|
|
+ }
|
|
|
|
+ // Spigot End
|
|
|
|
+ world.addEntity( entityitem );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--
|
2013-12-01 04:40:53 +01:00
|
|
|
1.8.3.2
|
2013-10-09 09:20:20 +02:00
|
|
|
|