From 81bcf14a60c49ea09a194670179c561ca9fb207f Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 14 Oct 2024 20:05:49 +0100 Subject: [PATCH] Bump target and fix compatibility with 1.21.1 --- gradle.properties | 8 ++++---- .../com/minelittlepony/unicopia/block/FancyBedBlock.java | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index 9810c4a7..9bc9b839 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,10 +3,10 @@ org.gradle.daemon=false # Fabric Properties # check these on https://fabricmc.net/develop - minecraft_version=1.21 - yarn_mappings=1.21+build.9 + minecraft_version=1.21.1 + yarn_mappings=1.21.1+build.3 loader_version=0.16.5 - fabric_version=0.102.0+1.21 + fabric_version=0.105.0+1.21.1 # Mod Properties group=com.minelittlepony @@ -15,7 +15,7 @@ org.gradle.daemon=false description=Magical Abilities for Mine Little Pony! # Publishing - minecraft_version_range=1.21 + minecraft_version_range=>=1.21 modrinth_loader_type=fabric modrinth_project_id=9K7RJlvM diff --git a/src/main/java/com/minelittlepony/unicopia/block/FancyBedBlock.java b/src/main/java/com/minelittlepony/unicopia/block/FancyBedBlock.java index d786ffb9..444a1e09 100644 --- a/src/main/java/com/minelittlepony/unicopia/block/FancyBedBlock.java +++ b/src/main/java/com/minelittlepony/unicopia/block/FancyBedBlock.java @@ -144,6 +144,11 @@ public class FancyBedBlock extends BedBlock { super(pos, state); } + @Override + public boolean supports(BlockState state) { + return getType().supports(state); + } + @Override public BlockEntityType getType() { return UBlockEntities.FANCY_BED;