summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIaccidentally <coryhuckaby@gmail.com>2012-10-28 15:01:54 -0300
committerIaccidentally <coryhuckaby@gmail.com>2012-10-28 15:01:54 -0300
commite0412800a108109aaed6c334f3421db851f875b1 (patch)
tree9bf010a4ec173fbfbf45abaa7a4a1d003c8b3fdd
parenta9432e640829752d144edb22eec996283f5811e3 (diff)
downloadEssentials-e0412800a108109aaed6c334f3421db851f875b1.tar
Essentials-e0412800a108109aaed6c334f3421db851f875b1.tar.gz
Essentials-e0412800a108109aaed6c334f3421db851f875b1.tar.lz
Essentials-e0412800a108109aaed6c334f3421db851f875b1.tar.xz
Essentials-e0412800a108109aaed6c334f3421db851f875b1.zip
Update Essentials/src/com/earth2me/essentials/commands/Commandtppos.java
2.9 too
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandtppos.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java b/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java
index 4e78b0e1b..ddc86f19c 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java
@@ -36,7 +36,7 @@ public class Commandtppos extends EssentialsCommand
{
location.setPitch(Float.parseFloat(args[4]));
}
- if (x > 30000000 || y > 30000000 || z > 30000000 || x < -30000000 || y < 30000000 || z < 30000000)
+ if (x > 30000000 || y > 30000000 || z > 30000000 || x < -30000000 || y < -30000000 || z < -30000000)
{
throw new NotEnoughArgumentsException("Value of coordinates cannot be over 30000000"); //todo: I18n
}
@@ -68,7 +68,7 @@ public class Commandtppos extends EssentialsCommand
{
location.setPitch(Float.parseFloat(args[5]));
}
- if (x > 30000000 || y > 30000000 || z > 30000000 || x < -30000000 || y < 30000000 || z < 30000000)
+ if (x > 30000000 || y > 30000000 || z > 30000000 || x < -30000000 || y < -30000000 || z < -30000000)
{
throw new NotEnoughArgumentsException("Value of coordinates cannot be over 30000000"); //todo: I18n
}