mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 18:39:42 -05:00
Update CraftBukkit to Minecraft 1.4.7
This commit is contained in:
1 parent
315127782a
commit
e59af9908b
36 files changed
+83
-349
No files matched your search
@@ -138,7 +138,7 @@ public class EntityPotion extends EntityProjectile {
|
||||
public void a(NBTTagCompound nbttagcompound) {
|
||||
super.a(nbttagcompound);
|
||||
if (nbttagcompound.hasKey("Potion")) {
|
||||
this.c = ItemStack.a(nbttagcompound.getCompound("Potion"));
|
||||
this.c = ItemStack.createStack(nbttagcompound.getCompound("Potion"));
|
||||
} else {
|
||||
this.setPotionValue(nbttagcompound.getInt("potionValue"));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user