This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. Alter the config and specify a resource with less the 1% chance to spawn (tried both "0.5" and "0,5")2.Reload the server, rebuild the world3.The resource in question does not spawn at all
What is the expected output? What do you see instead?I expected to see ~ 0.5 % of the resource in question
What version of the product are you using?0.1.0
Do you have an error log of what happened?No errors, no logs (as far as I know)
Please provide any additional information below.- The plugin works just fine when I stick to integer numbers- git-Spigot-dbe012b-63e28b1 (MC: 1.8.3)- I can provide any additional information you need!
According to the source code, pctGenerate is an "int", therefor 0.5 should translate to 1. I must remember wrong, perhaps the value I tested was "0.1" and "0,1"
Update 20150614_0953: In a typical chunk (16 wide x 16 across x 64 high), 0.5% would equate to approximately 80 blocks of the ore. Since this (and even less blocks) is a reasonable amount, I will revisit the limitation that ore percentages are integers.
To post a comment, please login or register a new account.