mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-26 19:09:44 -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
@@ -197,7 +197,7 @@ public class EntityItem extends Entity {
|
||||
|
||||
// CraftBukkit start
|
||||
if (nbttagcompound1 != null) {
|
||||
ItemStack itemstack = ItemStack.a(nbttagcompound1);
|
||||
ItemStack itemstack = ItemStack.createStack(nbttagcompound1);
|
||||
if (itemstack != null) {
|
||||
this.setItemStack(itemstack);
|
||||
} else {
|
||||
@@ -279,7 +279,7 @@ public class EntityItem extends Entity {
|
||||
}
|
||||
|
||||
public ItemStack getItemStack() {
|
||||
ItemStack itemstack = this.getDataWatcher().f(10);
|
||||
ItemStack itemstack = this.getDataWatcher().getItemStack(10);
|
||||
|
||||
if (itemstack == null) {
|
||||
System.out.println("Item entity " + this.id + " has no item?!");
|
||||
|
||||
Reference in new issue
Block a user