From 8a45e0c953960ce61d012d3132796537e3600751 Mon Sep 17 00:00:00 2001 From: garbagemule Date: Thu, 15 Aug 2013 00:45:26 +0200 Subject: [PATCH] Make sure we can force worlds. --- src/com/garbagemule/MobArena/util/config/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/garbagemule/MobArena/util/config/Config.java b/src/com/garbagemule/MobArena/util/config/Config.java index 9243e16..3ff0cfb 100644 --- a/src/com/garbagemule/MobArena/util/config/Config.java +++ b/src/com/garbagemule/MobArena/util/config/Config.java @@ -424,7 +424,7 @@ public class Config */ public static Location parseLocation(World world, String coords) { String[] parts = coords.split(","); - if (parts.length != 5) + if (parts.length < 5) throw new IllegalArgumentException("Input string must contain x, y, z, yaw and pitch"); Float x = parseFloat(parts[0]);