diff --git a/src/main/java/me/totalfreedom/totalfreedommod/blocking/InteractBlocker.java b/src/main/java/me/totalfreedom/totalfreedommod/blocking/InteractBlocker.java index 8c89f6b5..5ce91afb 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/blocking/InteractBlocker.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/blocking/InteractBlocker.java @@ -94,7 +94,6 @@ public class InteractBlocker extends FreedomService player.sendMessage(ChatColor.RED + "You can't sleep in hell."); event.setCancelled(true); return; - } switch (event.getMaterial()) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_gtfo.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_ban.java similarity index 98% rename from src/main/java/me/totalfreedom/totalfreedommod/command/Command_gtfo.java rename to src/main/java/me/totalfreedom/totalfreedommod/command/Command_ban.java index 2e1bfb99..1d5fa7a5 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_gtfo.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_ban.java @@ -23,8 +23,8 @@ import org.bukkit.scheduler.BukkitRunnable; import org.bukkit.util.Vector; @CommandPermissions(level = Rank.SUPER_ADMIN, source = SourceType.BOTH, blockHostConsole = true) -@CommandParameters(description = "Bans the specified player.", usage = "/ [reason] [-nrb]", aliases = "ban") -public class Command_gtfo extends FreedomCommand +@CommandParameters(description = "Bans the specified player.", usage = "/ [reason] [-nrb]", aliases = "gtfo") +public class Command_ban extends FreedomCommand { @Override diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_mute.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_mute.java index 6911c9d7..c6ca5ac6 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_mute.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_mute.java @@ -160,7 +160,6 @@ public class Command_mute extends FreedomCommand msg(ChatColor.RED + "That player is already muted."); } - return true; }