Allowed fluid flow parent claim to child claim.
This commit is contained in:
1 parent
7b280d2b22
commit
cd3e470cbc
1 file changed
+5
-1
@@ -605,7 +605,11 @@ public class BlockEventHandler implements Listener
|
||||
this.lastSpreadClaim = toClaim;
|
||||
if(!toClaim.contains(spreadEvent.getBlock().getLocation(), false, true))
|
||||
{
|
||||
spreadEvent.setCancelled(true);
|
||||
//exception: from parent into subdivision
|
||||
if(toClaim.parent == null || !toClaim.parent.contains(spreadEvent.getBlock().getLocation(), false, false))
|
||||
{
|
||||
spreadEvent.setCancelled(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user