mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-14 18:44:48 +02:00
Oops, these too.
This commit is contained in:
@@ -15,7 +15,6 @@ public class Commandcompass extends EssentialsCommand
|
|||||||
@Override
|
@Override
|
||||||
public void run(Server server, User user, String commandLabel, String[] args) throws Exception
|
public void run(Server server, User user, String commandLabel, String[] args) throws Exception
|
||||||
{
|
{
|
||||||
charge(user);
|
|
||||||
int r = (int)user.getCorrectedYaw();
|
int r = (int)user.getCorrectedYaw();
|
||||||
String dir;
|
String dir;
|
||||||
if (r < 23) dir = "N";
|
if (r < 23) dir = "N";
|
||||||
|
@@ -16,7 +16,6 @@ public class Commanddeljail extends EssentialsCommand {
|
|||||||
{
|
{
|
||||||
throw new NotEnoughArgumentsException();
|
throw new NotEnoughArgumentsException();
|
||||||
}
|
}
|
||||||
charge(sender);
|
|
||||||
ess.getJail().delJail(args[0]);
|
ess.getJail().delJail(args[0]);
|
||||||
sender.sendMessage(Util.format("deleteJail", args[0]));
|
sender.sendMessage(Util.format("deleteJail", args[0]));
|
||||||
}
|
}
|
||||||
|
@@ -19,7 +19,6 @@ public class Commanddelwarp extends EssentialsCommand
|
|||||||
{
|
{
|
||||||
throw new NotEnoughArgumentsException();
|
throw new NotEnoughArgumentsException();
|
||||||
}
|
}
|
||||||
charge(sender);
|
|
||||||
ess.getWarps().delWarp(args[0]);
|
ess.getWarps().delWarp(args[0]);
|
||||||
sender.sendMessage(Util.format("deleteWarp", args[0]));
|
sender.sendMessage(Util.format("deleteWarp", args[0]));
|
||||||
}
|
}
|
||||||
|
@@ -15,7 +15,6 @@ public class Commanddepth extends EssentialsCommand
|
|||||||
@Override
|
@Override
|
||||||
public void run(Server server, User user, String commandLabel, String[] args) throws Exception
|
public void run(Server server, User user, String commandLabel, String[] args) throws Exception
|
||||||
{
|
{
|
||||||
charge(user);
|
|
||||||
int y = user.getLocation().getBlockY() - 63;
|
int y = user.getLocation().getBlockY() - 63;
|
||||||
if (y > 0)
|
if (y > 0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user