mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-14 02:24:16 +02:00
Update Essentials/src/net/ess3/commands/Commandtppos.java
copy-paste fail :<
This commit is contained in:
@@ -30,7 +30,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
|
||||
}
|
||||
@@ -62,7 +62,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
|
||||
}
|
||||
|
Reference in New Issue
Block a user