force place bed on first claim

This commit is contained in:
NewGarbo 2015-11-27 13:23:37 +00:00
parent 4423baca96
commit 691105b2cb
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import mineplex.core.common.util.C;
import mineplex.core.common.util.UtilMath;
public class CustomItemLoot implements ILoot

View File

@ -72,7 +72,7 @@ public class ClanTips extends MiniPlugin
displayTip(TipType.FIRST_CLAIM_SETHOME, event.getClaimer());
// Place New
boolean bedPlaced = UtilBlock.placeBed(event.getClaimer().getLocation(), BlockFace.valueOf(EnumDirection.fromAngle(event.getClaimer().getLocation().getYaw()).name()), false, false);
boolean bedPlaced = UtilBlock.placeBed(event.getClaimer().getLocation(), BlockFace.valueOf(EnumDirection.fromAngle(event.getClaimer().getLocation().getYaw()).name()), true, true);
if (!bedPlaced)
{