jasonw4331 / MyPlot

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

Server crashed #408

Closed Sulfuritium closed 3 years ago

Sulfuritium commented 3 years ago

Link to crashdump: https://crash.pmmp.io/view/4992401

Server crashed just 2 seconds after running / p claim

JustSxm commented 3 years ago
[10:58:14] [Server thread/CRITICAL]: TypeError: "Argument 11 passed to MyPlot\Plot::__construct() must be of the type int, bool 
given, called in plugins\Plots\src\MyPlot\provider\JSONDataProvider.php on line 244" (EXCEPTION) in 
"plugins/Plots/src/MyPlot/Plot" at line 47|

[10:58:14] [Server thread/CRITICAL]: #0 plugins/Plots/src/MyPlot/provider/JSONDataProvider(244): MyPlot\Plot- 
>__construct(string[5] plots, integer -1, integer 0, string[0] , string[10] IGN, array[0], array[0], string[6] PLAINS, boolean 1, double 
0, boolean )

[10:58:14] [Server thread/CRITICAL]: #1 plugins/Plots/src/MyPlot/MyPlot(299): MyPlot\provider\JSONDataProvider- 
>getMergeOrigin(object MyPlot\Plot)

[10:58:14] [Server thread/CRITICAL]: #2 plugins/Plots/src/MyPlot/EventListener(328): MyPlot\MyPlot->getPlotByPosition(object 
pocketmine\level\Location)

[10:58:14] [Server thread/CRITICAL]: #3 plugins/Plots/src/MyPlot/EventListener(304): MyPlot\EventListener- 
>onEventOnMove(object pocketmine\Player, object pocketmine\event\player\PlayerMoveEvent)