mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 19:05:16 +00:00
Lowered the default and max radius of /botania-skyblock-spread by a tenfold to prevent floating point errors. Closes #1251
This commit is contained in:
1 parent
310afca049
commit
826bc924c0
1 file changed
+2
-2
@@ -38,11 +38,11 @@ public class CommandSkyblockSpread extends CommandBase {
|
||||
|
||||
@Override
|
||||
public void processCommand(ICommandSender sender, String[] args) {
|
||||
int maxAllowed = 10000000;
|
||||
int maxAllowed = 1000000;
|
||||
int minAllowed = 250;
|
||||
int minDist = 100;
|
||||
|
||||
int maxrange = 2000000;
|
||||
int maxrange = 200000;
|
||||
if(args.length == 2)
|
||||
maxrange = parseInt(sender, args[1]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user