mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-16 10:34:53 +00:00
Fix #559 Forestry fluid can be duplicated with buckets
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user