Brewing barrel and TE Reservoir issue.
DennisCorp opened this issue ยท 3 comments
When filling a brewing barrel with liquid from a Thermal Expansion Reservoir (hardened) , the reservoir will revert back to a (Basic) level.
This has occurred while playing FTB Interactions v1.5.0,
The liquid successfully goes into the barrel, but the reservoir is dropped down to basic.
The same occurs with a (resonant) level reservoir, it also reverts back to (basic)
I tested with Honey, apple juice and ironberry juice, all crushed in the crushing tub.
The exact amount of fluid was in the reservoir for each attempt.
Met this issue on my own compiled binary.
@the-realest-stu Could you please replace all the lines in this file that cast a out ItemStack by using
ItemStack out = new ItemStack(in.getItem())
to
ItemStack out = in.copy()
?
new
an ItemStack
from Item.getItem()
only gets its "default" item representation, extra data like damage, metadata or tags will be lost, using the Item.copy()
method will return a full-sized copy of the original ItemStack, and in this case the bug will be fixed.