mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-24 01:47:42 +01:00
cab333b217
Don't send requests of every player was found in the global api cache SpigotMC/Spigot@841270ff1e Correctly set the response code for the cached lookups and return the ... SpigotMC/Spigot@f170b7899c Don't try and re-set the global api cache on reload SpigotMC/Spigot@b410a00a66 Use a compile time sneaky throw hack. SpigotMC/Spigot@508462b96b Fix a missed rename in WorldGenGroundBush SpigotMC/Spigot@0614d8fae9
29 lines
1.3 KiB
Diff
29 lines
1.3 KiB
Diff
From ec811040fba08b7084c23760094615bdf41b3e39 Mon Sep 17 00:00:00 2001
|
|
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
|
|
index 6ce80db..9f49f43 100644
|
|
--- 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 );
|
|
}
|
|
}
|
|
}
|
|
--
|
|
1.9.1
|
|
|