Skip to content

Commit

Permalink
sleeping mat with fully charged bow #2446
Browse files Browse the repository at this point in the history
  • Loading branch information
Lothrazar committed Nov 26, 2024
1 parent db94072 commit 5eb0bfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/lothrazar/cyclic/item/SleepingMatItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public InteractionResultHolder<ItemStack> 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);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion update.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 5eb0bfd

Please sign in to comment.