mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-23 21:49:58 +00:00
#1048 resivoir bucket bug
This commit is contained in:
1 parent
e18aafc9c6
commit
e6a2050e0a
1 file changed
+2
-2
@@ -97,8 +97,8 @@ public class BlockReservoir extends BlockContainer implements IResourceTooltipPr
|
||||
} else {
|
||||
// Handle empty containers
|
||||
|
||||
FluidStack available = tank.getTankInfo(ForgeDirection.UNKNOWN)[0].fluid;
|
||||
if(available != null) {
|
||||
FluidStack available = tank.getTankInfo(ForgeDirection.UNKNOWN)[0].fluid;
|
||||
if(available != null && available.amount > 0) {
|
||||
ItemStack filled = FluidContainerRegistry.fillFluidContainer(available, current);
|
||||
if(current.getItem() == Items.bucket) {
|
||||
filled = new ItemStack(Items.water_bucket);
|
||||
|
||||
Reference in new issue
Block a user