This commit is contained in:
Jesse Boyd 2017-08-03 20:48:49 +10:00
parent b7c19ee1f7
commit 20c9dbacdf
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -97,7 +97,7 @@ public class BrushTool implements DoubleActionTraceTool, ScrollTool, MovableTool
VisualMode visual = VisualMode.valueOf((String) root.getOrDefault("visual", "NONE"));
TargetMode target = TargetMode.valueOf((String) root.getOrDefault("target", "TARGET_BLOCK_RANGE"));
int range = (int) root.getOrDefault("range", -1);
int range = (int) (double) root.getOrDefault("range", -1);
BrushTool tool = new BrushTool();
tool.visualMode = visual;