Fix issue with default getContainerItemStack
This commit is contained in:
parent
d9423a4f25
commit
4967683c9c
1 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
Vec3 var23 = var13.addVector((double)var18 * var21, (double)var17 * var21, (double)var20 * var21);
|
||||
return par1World.rayTraceBlocks_do_do(var13, var23, par3, !par3);
|
||||
}
|
||||
@@ -650,4 +657,185 @@
|
||||
@@ -650,4 +657,189 @@
|
||||
{
|
||||
StatList.initStats();
|
||||
}
|
||||
|
@ -212,6 +212,10 @@
|
|||
+ */
|
||||
+ public ItemStack getContainerItemStack(ItemStack itemStack)
|
||||
+ {
|
||||
+ if (!hasContainerItem())
|
||||
+ {
|
||||
+ return null;
|
||||
+ }
|
||||
+ return new ItemStack(getContainerItem());
|
||||
+ }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue