From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: SoSeDiK Date: Wed, 12 Oct 2022 00:36:55 +0300 Subject: [PATCH] Allow changing bed's 'occupied' property diff --git a/src/main/java/org/bukkit/block/data/type/Bed.java b/src/main/java/org/bukkit/block/data/type/Bed.java index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 --- a/src/main/java/org/bukkit/block/data/type/Bed.java +++ b/src/main/java/org/bukkit/block/data/type/Bed.java @@ -0,0 +0,0 @@ public interface Bed extends Directional { */ boolean isOccupied(); + // Paper start + /** + * Sets the value of the 'occupied' property. + * + * @param occupied the new 'occupied' value + */ + void setOccupied(boolean occupied); + // Paper end + /** * Horizontal half of a bed. */