diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-09-04 19:44:36 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-09-04 19:44:36 -0400 |
commit | 96a03b43211dcc3e045449a8d5cb13191c15113e (patch) | |
tree | 0d9a98bfd7c488aa230b87532454de335d26472f /src/main/java/me/Danker/commands/ScaleCommand.java | |
parent | c33d70d29a8976079be54507ea8c53cec1a01a49 (diff) | |
download | SkyblockMod-96a03b43211dcc3e045449a8d5cb13191c15113e.tar.gz SkyblockMod-96a03b43211dcc3e045449a8d5cb13191c15113e.tar.bz2 SkyblockMod-96a03b43211dcc3e045449a8d5cb13191c15113e.zip |
Make scale 10x more precise, fix /loot tab complete
Diffstat (limited to 'src/main/java/me/Danker/commands/ScaleCommand.java')
-rw-r--r-- | src/main/java/me/Danker/commands/ScaleCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/commands/ScaleCommand.java b/src/main/java/me/Danker/commands/ScaleCommand.java index 03c0793..7b56b6d 100644 --- a/src/main/java/me/Danker/commands/ScaleCommand.java +++ b/src/main/java/me/Danker/commands/ScaleCommand.java @@ -49,7 +49,7 @@ public class ScaleCommand extends CommandBase { return; } - double scaleAmount = (double) Math.floor(Double.parseDouble(arg1[1]) * 10.0) / 10.0; + double scaleAmount = (double) Math.floor(Double.parseDouble(arg1[1]) * 100.0) / 100.0; if (scaleAmount < 0.1 || scaleAmount > 10.0) { player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Scale multipler can only be between 0.1x and 10x.")); return; |