diff --git a/nms-patches/EntityHuman.patch b/nms-patches/EntityHuman.patch index e38c7c748c..b5d58a19a9 100644 --- a/nms-patches/EntityHuman.patch +++ b/nms-patches/EntityHuman.patch @@ -379,7 +379,7 @@ + Player player = (Player) this.getBukkitEntity(); + + org.bukkit.block.Block bed; -+ BlockPosition blockposition = this.getBed(); ++ BlockPosition blockposition = optional.orElse(null); + if (blockposition != null) { + bed = this.world.getWorld().getBlockAt(blockposition.getX(), blockposition.getY(), blockposition.getZ()); + } else {