aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/commands/ScaleCommand.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/Danker/commands/ScaleCommand.java')
-rw-r--r--src/main/java/me/Danker/commands/ScaleCommand.java2
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;