21w15a - Just a singular mapping update.

This commit is contained in:
modmuss50 2021-04-14 18:33:20 +01:00
parent 82d2b1c3ac
commit 4114fbdc82
3 changed files with 6 additions and 6 deletions

View file

@ -19,8 +19,8 @@ plugins {
def ENV = System.getenv()
class Globals {
static def baseVersion = "0.32.7"
static def mcVersion = "21w14a"
static def baseVersion = "0.32.8"
static def mcVersion = "21w15a"
static def yarnVersion = "+build.1"
static def loaderVersion = "0.10.5+build.213"
static def preRelease = true
@ -37,7 +37,7 @@ def getSubprojectVersion(project, version) {
if (grgit == null) {
return version + "+nogit"
}
MixinModelLoader
def latestCommits = grgit.log(paths: [project.name], maxCommits: 1)
if (latestCommits.isEmpty()) {

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-models-v0"
version = getSubprojectVersion(project, "0.2.1")
version = getSubprojectVersion(project, "0.2.2")
moduleDependencies(project, [
'fabric-api-base'

View file

@ -39,7 +39,7 @@ import net.fabricmc.fabric.impl.client.model.ModelLoadingRegistryImpl;
public abstract class MixinModelLoader implements ModelLoaderHooks {
// this is the first one
@Shadow
public static ModelIdentifier MISSING;
public static ModelIdentifier MISSING_ID;
@Shadow
private ResourceManager resourceManager;
@Shadow
@ -75,7 +75,7 @@ public abstract class MixinModelLoader implements ModelLoaderHooks {
@Inject(at = @At("HEAD"), method = "addModel")
private void addModelHook(ModelIdentifier id, CallbackInfo info) {
if (id == MISSING) {
if (id == MISSING_ID) {
//noinspection RedundantCast
ModelLoaderHooks hooks = this;