jasonw4331 / MyPlot

Plot and protection plugin for PocketMine-MP
https://discord.gg/Qqcpp9Q
MIT License
101 stars 89 forks source link

water bug with merge road #453

Closed efor89 closed 2 years ago

efor89 commented 2 years ago

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

Screenshot (70)

efor89 commented 2 years ago

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