jasonw4331/MyPlot

water bug with merge road

efor89 opened this issue · 1 comments

Issue description

hi
water dosent flows on merge road.

Steps to reproduce the issue

  1. /p claim
  2. /p merge confirm
  3. place water on merge road

OS and versions

  • Plugin Version: 2.1.0
  • PocketMine-MP: 3.24
  • PHP: 8.0
  • Game version: PE/Win10

Screenshot (70)

i have this now

if(!$settings->updatePlotLiquids and ($sourceBlockInPlot or $this->plugin->isPositionBorderingPlot($event->getSource()))) {
$event->setCancelled();
$this->plugin->getLogger()->debug("Cancelled {$event->getSource()->getName()} spread on [$levelName]");
}elseif($settings->updatePlotLiquids and ($sourceBlockInPlot) and (!$newBlockInPlot)) {
$event->setCancelled();
$this->plugin->getLogger()->debug("Cancelled {$event->getSource()->getName()} spread on [$levelName]");
}

the water can floting on roads but if i place in plot it dont floting on the road but merge roads it is floating