Fix a control panel dupe bug, closes #69
This commit is contained in:
parent
7c62332b57
commit
86cefa9162
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ public class RecipePanelTexture extends IForgeRegistryEntry.Impl<IRecipe> implem
|
|||
}
|
||||
assert texture != null && panel != null;
|
||||
NBTTagCompound texAsNBT = texture.serializeNBT();
|
||||
ItemStack ret = panel.copy();
|
||||
ItemStack ret = ApiUtils.copyStackWithAmount(panel, 1);
|
||||
if (ret.getTagCompound() == null) {
|
||||
ItemNBTHelper.setFloat(ret, NBTKeys.ANGLE, 0);
|
||||
ItemNBTHelper.setFloat(ret, NBTKeys.HEIGHT, .5F);
|
||||
|
|
Loading…
Reference in a new issue