Fix #559 Forestry fluid can be duplicated with buckets

This commit is contained in:
mezz committed 2015-03-22 15:23:24 -07:00
1 parent d71b0e5646
commit 08a9badc54
1 file changed
+3
@@ -188,6 +188,9 @@ public class PluginFluids extends ForestryPlugin {
if (filledBucket != null) {
event.result = new ItemStack(filledBucket);
event.setResult(Event.Result.ALLOW);
if (!event.world.isRemote) {
event.world.setBlockToAir(x, y, z);
}
}
}
}