From ef01332114ba9eeb6489a609a110741d438a377b Mon Sep 17 00:00:00 2001 From: KHobbits Date: Fri, 1 Feb 2013 05:26:17 +0000 Subject: [PATCH] Fix missing 'bed' from home list. --- .../src/com/earth2me/essentials/commands/Commandhome.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandhome.java b/Essentials/src/com/earth2me/essentials/commands/Commandhome.java index a73d0a6fc..8b00ecc35 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandhome.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandhome.java @@ -58,10 +58,6 @@ public class Commandhome extends EssentialsCommand catch (NotEnoughArgumentsException e) { Location bed = player.getBedSpawnLocation(); - if (bed != null && bed.getBlock().getType() != Material.BED_BLOCK) - { - bed = null; - } final List homes = player.getHomes(); if (homes.isEmpty() && player.equals(user)) {