Xenophilicy / OreGen

PocketMine plugin to spawn ores in a cobblestone generator!

Home Page:https://poggit.pmmp.io/p/OreGen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error and Crash

timothytay opened this issue · comments

Hello, I tried the OreGen plugin today and noticed a very big problem. After adding the plugin successfully, when a player creates a cobblestone generator or causes it to generate a new block, my server crashes followed by this error in console:
30.01 14:20:04 [Server] Server thread/CRITICAL ErrorException: "mt_rand(): max(0) is smaller than min(1)" (EXCEPTION) in "OreGen.phar/src/Xenophilicy/OreGen/OreGen" at line 61

Hello @timothytay,

I am very sorry you are experiencing this issue. Thank you for the error, that helps narrow the issue down a lot.

In order to confirm your issue, may I ask if you are running the latest update yet (v1.0.3)? If so, would you mind refreshing your data for OreGen by deleting the config.yml (possibly settings.yml) inside your plugin data folder? This will create a new config file with the updated inputs. Note: If you are using a release from Poggit, as of 2/1/19 9:20 CST, the release for the new version is not available, as it has not been approved yet (hopefully soon they will wake up). You can however download the latest here at GitHub from the master file. Thanks for your patience.

Please let me know if this resolves your issue. Thanks!

Issue was resolved in an update made to the plugin. Please download the latest version to continue to use the plugin with full functionality. Thanks!