BlockHorizons / BlockSniper

An advanced (brush) world editing plugin for PocketMine-MP
https://poggit.pmmp.io/p/BlockSniper/
Apache License 2.0
76 stars 41 forks source link

error #119

Open SuperAdam47 opened 5 years ago

SuperAdam47 commented 5 years ago

Description

[17:52:57] [Server thread/CRITICAL]: ErrorException: "Division by zero" (EXCEPTION) in "plugins/BlockSniper.phar/src/BlockHorizons/BlockSniper/brush/shapes/CylinderShape" at line 29

Versions

Crashdump and/or console errors

Sandertv commented 5 years ago

Thanks for reporting this issue. Could you please execute /bs in-game and report what version it shows? Thanks!

Thunder33345 commented 4 years ago

ErrorException: "Division by zero" (EXCEPTION) in "plugins/BlockSniper_dev-635.phar/src/BlockHorizons/BlockSniper/brush/shapes/CylinderShape" at line 31

[19:25:46] [Server thread/INFO]: [BlockSniper] Information
[19:25:46] [Server thread/INFO]: Version: 3.2.3
[19:25:46] [Server thread/INFO]: Target API: 3.2.0
[19:24:41] [Server thread/CRITICAL]: ErrorException: "Division by zero" (EXCEPTION) in "plugins/BlockSniper_dev-635.phar/src/BlockHorizons/BlockSniper/brush/shapes/CylinderShape" at line 31
[19:24:41] [Server thread/DEBUG]: #0 plugins/BlockSniper_dev-635.phar/src/BlockHorizons/BlockSniper/brush/shapes/CylinderShape(31): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[16] Division by zero, string[116] phar:///home/container/plugins/BlockSniper_dev-635.phar/src/BlockHorizons/BlockS, integer 31, array[8])
[19:24:41] [Server thread/DEBUG]: #1 plugins/BlockSniper_dev-635.phar/src/BlockHorizons/BlockSniper/cloning/CloneStore(60): BlockHorizons\BlockSniper\brush\shapes\CylinderShape->getBlocksInside(boolean 1)
[19:24:41] [Server thread/DEBUG]: #2 plugins/BlockSniper_dev-635.phar/src/BlockHorizons/BlockSniper/commands/cloning/PasteCommand(47): BlockHorizons\BlockSniper\cloning\CloneStore->pasteCopy(object pocketmine\block\Leaves)

Happens on cloning with cylinder tool