diff --git a/src/main/java/com/lothrazar/cyclic/item/SleepingMatItem.java b/src/main/java/com/lothrazar/cyclic/item/SleepingMatItem.java index c94f4436c..4f9e488d4 100644 --- a/src/main/java/com/lothrazar/cyclic/item/SleepingMatItem.java +++ b/src/main/java/com/lothrazar/cyclic/item/SleepingMatItem.java @@ -26,9 +26,9 @@ public InteractionResultHolder use(Level worldIn, Player player, Inte ItemStack itemstack = player.getItemInHand(handIn); BlockPos pos = player.blockPosition(); if (!worldIn.isDay()) { - trySleep(player, pos, itemstack).ifLeft((p) -> { - if (p != null) { - player.displayClientMessage(p.getMessage(), true); + trySleep(player, pos, itemstack).ifLeft((bsp) -> { + if (bsp != null && bsp.getMessage() != null) { + player.displayClientMessage(bsp.getMessage(), true); } }); } diff --git a/update.json b/update.json index 5e52f8954..7c0cda541 100644 --- a/update.json +++ b/update.json @@ -189,6 +189,6 @@ ,"1.13.1":"Fixed some visual glitches" - ,"1.13.2":"Fix patchouli Guidebook doesn't show in JEI (and creative tab). Two recipes have updated to use tag-ingredients forge:storage_blocks/ender_eye forge:storage_blocks/ender_pearl instead of item ids (this makes no difference to players experience). Re-added/Ported the alternate recipe for Tempered Dark Glass using obsidian and black stained glass" + ,"1.13.2":"Fix patchouli Guidebook doesn't show in JEI (and creative tab). Fix Sleeping Bag Disconnect with fully charged bow #2446. Two recipes have updated to use tag-ingredients forge:storage_blocks/ender_eye forge:storage_blocks/ender_pearl instead of item ids (this makes no difference to players experience). Re-added/Ported the alternate recipe for Tempered Dark Glass using obsidian and black stained glass" } }