Fix #3165 Dispensers with buckets can destroy fluid handler blocks (#3180)

This commit is contained in:
James Mitchell authored and LexManos committed 2016-08-12 01:36:18 -07:00
1 parent 704b683e27
commit f20d728ed7
2 files changed
+9 -5

No files matched your search

@@ -72,8 +72,6 @@ public class DispenseFluidContainer extends BehaviorDefaultDispenseItem
return super.dispenseStack(source, stack);
}
world.setBlockToAir(blockpos);
if (--stack.stackSize == 0)
{
stack.deserializeNBT(result.serializeNBT());