force place bed on first claim
This commit is contained in:
parent
4423baca96
commit
691105b2cb
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user