mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-22 15:47:57 -05:00
21w15a - Just a singular mapping update.
This commit is contained in:
parent
82d2b1c3ac
commit
4114fbdc82
3 changed files with 6 additions and 6 deletions
|
@ -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()) {
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue