mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-14 21:22:09 +00:00
Fix missing 'bed' from home list.
This commit is contained in:
parent
705b193450
commit
ef01332114
1 changed files with 0 additions and 4 deletions
|
@ -58,10 +58,6 @@ public class Commandhome extends EssentialsCommand
|
||||||
catch (NotEnoughArgumentsException e)
|
catch (NotEnoughArgumentsException e)
|
||||||
{
|
{
|
||||||
Location bed = player.getBedSpawnLocation();
|
Location bed = player.getBedSpawnLocation();
|
||||||
if (bed != null && bed.getBlock().getType() != Material.BED_BLOCK)
|
|
||||||
{
|
|
||||||
bed = null;
|
|
||||||
}
|
|
||||||
final List<String> homes = player.getHomes();
|
final List<String> homes = player.getHomes();
|
||||||
if (homes.isEmpty() && player.equals(user))
|
if (homes.isEmpty() && player.equals(user))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue