My code keeps saying my home was never set when I do use /sethome. http://pastie.org/3411194 Code:java package box.arcation.cmd; import java.util.HashMap; import org.bukkit.ChatColor;import org.bukkit.command.Command;import org.bukkit.command.CommandExecutor;import org.bukkit.command.CommandSender;import org.bukkit.entity.Player;import box.arcation.api.TinyLocation; public class HomeCommand implements CommandExecutor{ private HashMap<Player, TinyLocation> homes = new HashMap<Player, TinyLocation>(); private HashMap<String, Integer> line = new HashMap<String, Integer>(); @Override public boolean onCommand(CommandSender sender, Command cmd, String cL, String[] args) { Player p = (Player) sender; if(sender instanceof Player) { if(cmd.getName().equalsIgnoreCase("sethome")) { if(args.length == 0) { if(p.hasPermission("arcation.sethome")) { TinyLocation location = new TinyLocation(p.getLocation()); homes.put(p, location); p.sendMessage(ChatColor.GOLD + "Home set."); } } } if(cmd.getName().equalsIgnoreCase("home")) { if(args.length == 0) { if(p.hasPermission("arcation.home")) { if(homes.containsKey(p)) { if(!line.containsKey("line")) { line.put("line", 1); } else { line.put("line", line.get("line") + 1); } try { int time; int secs; int size; time = line.get("line") * 1000; size = line.get("line"); secs = time/100; if(!p.hasPermission("arcation.nowait")) { p.sendMessage(ChatColor.RED + "The line is currently " + ChatColor.YELLOW + size + " long."); p.sendMessage(ChatColor.RED + "Please wait " + ChatColor.YELLOW + secs + ChatColor.RED + " to teleport."); homes.wait(time); p.teleport(homes.get(p.getName()).toLocation()); p.sendMessage(ChatColor.GOLD + "Welcome home!"); } else { p.teleport(homes.get(p.getName()).toLocation()); p.sendMessage(ChatColor.GOLD + "Welcome home!"); } } catch(Exception ex) { ex.printStackTrace(); } } else { p.sendMessage(ChatColor.RED + "Home never was set."); } } } } } else { System.out.println("[ArcationCommands] Command cannot be used here."); } return false; } }