jasonw4331 / MyPlot

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

internal server error and server crash with /p merge confirm #447

Closed efor89 closed 2 years ago

efor89 commented 2 years ago

Issue description

hi jason i become internal server error if i try to merge plots in 1 line or if i have a 4er merge and try to get more plots to my merge. i hope you can fix it. ty

Steps to reproduce the issue

  1. /p claim
  2. /p merge confirm

OS and versions

Other Plugins

Console error, backtrace or other files

internal server error: Exception: "Plot arguments cannot be the same plot or already be merged" (EXCEPTION) in "plugins/MyPlot_dev-763.phar/src/MyPlot/task/RoadFillTask" at line 35 server crash: Error: "Typed property MyPlot\task\RoadFillTask::$xMax must not be accessed before initialization" (EXCEPTION) in "plugins/MyPlot_dev-763.phar/src/MyPlot/task/RoadFillTask" at line 80