mirror of
https://github.com/FabricMC/fabric.git
synced 2025-04-21 03:10:54 -04:00
Fix crash on startup
This commit is contained in:
parent
d249f7b6d6
commit
ce6dd8380f
3 changed files with 3 additions and 3 deletions
build.gradle
fabric-object-builders-v0
|
@ -12,7 +12,7 @@ plugins {
|
|||
def ENV = System.getenv()
|
||||
|
||||
class Globals {
|
||||
static def baseVersion = "0.5.4"
|
||||
static def baseVersion = "0.5.5"
|
||||
static def mcVersion = "20w12a"
|
||||
static def yarnVersion = "+build.3"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
archivesBaseName = "fabric-object-builders"
|
||||
version = getSubprojectVersion(project, "0.2.0")
|
||||
version = getSubprojectVersion(project, "0.2.1")
|
||||
|
||||
dependencies {
|
||||
compile project(path: ':fabric-api-base', configuration: 'dev')
|
||||
|
|
|
@ -27,7 +27,7 @@ import net.fabricmc.fabric.api.event.registry.BlockConstructedCallback;
|
|||
|
||||
@Mixin(Block.class)
|
||||
public class MixinBlock {
|
||||
@Inject(method = "<init>(Lnet/minecraft/block/Block$Settings;)V", at = @At("RETURN"))
|
||||
@Inject(method = "<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V", at = @At("RETURN"))
|
||||
public void init(Block.Settings builder, CallbackInfo info) {
|
||||
BlockConstructedCallback.EVENT.invoker().building(builder, (Block) (Object) this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue