Fix bed respawns.
@@ -468,6 +468,15 @@ public static void setShouldLoadSpawn(net.minecraft.world.DimensionType dimensio
((IMixinDimensionType)(Object) dimensionType).setShouldLoadSpawn(keepSpawnLoaded);
}
+ @Overwrite
+ public static BlockPos getBedLocation(EntityPlayerMP player, int dimension) {
+ return player.getBedLocation(dimension);
+ }
+
+ @Overwrite
+ public static boolean isSpawnForced(EntityPlayerMP player, int dimension) {
+ return player.isSpawnForced(dimension);
+ }
// Crafting
/**
