Skip to content

Commit 81bcf14

Browse files
committed
Bump target and fix compatibility with 1.21.1
1 parent 9907d3c commit 81bcf14

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

gradle.properties

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ org.gradle.daemon=false
33

44
# Fabric Properties
55
# check these on https://fabricmc.net/develop
6-
minecraft_version=1.21
7-
yarn_mappings=1.21+build.9
6+
minecraft_version=1.21.1
7+
yarn_mappings=1.21.1+build.3
88
loader_version=0.16.5
9-
fabric_version=0.102.0+1.21
9+
fabric_version=0.105.0+1.21.1
1010

1111
# Mod Properties
1212
group=com.minelittlepony
@@ -15,7 +15,7 @@ org.gradle.daemon=false
1515
description=Magical Abilities for Mine Little Pony!
1616

1717
# Publishing
18-
minecraft_version_range=1.21
18+
minecraft_version_range=>=1.21
1919
modrinth_loader_type=fabric
2020
modrinth_project_id=9K7RJlvM
2121

src/main/java/com/minelittlepony/unicopia/block/FancyBedBlock.java

+5
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@ public Tile(BlockPos pos, BlockState state) {
144144
super(pos, state);
145145
}
146146

147+
@Override
148+
public boolean supports(BlockState state) {
149+
return getType().supports(state);
150+
}
151+
147152
@Override
148153
public BlockEntityType<?> getType() {
149154
return UBlockEntities.FANCY_BED;

0 commit comments

Comments
 (0)