diff --git a/paper-api/src/main/java/org/bukkit/material/SimpleAttachableMaterialData.java b/paper-api/src/main/java/org/bukkit/material/SimpleAttachableMaterialData.java index bc3a4ff80..b88c3f9bb 100644 --- a/paper-api/src/main/java/org/bukkit/material/SimpleAttachableMaterialData.java +++ b/paper-api/src/main/java/org/bukkit/material/SimpleAttachableMaterialData.java @@ -35,7 +35,8 @@ public abstract class SimpleAttachableMaterialData extends MaterialData implemen } public BlockFace getFacing() { - return getAttachedFace().getOppositeFace(); + BlockFace attachedFace = getAttachedFace(); + return attachedFace == null ? null : attachedFace.getOppositeFace(); } @Override