Skip to content

Commit

Permalink
fix mixin transformation error (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Nov 2, 2024
1 parent b7b7b5e commit eaf0836
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ mod_name = Syncmatica
mod_file_name = syncmatica-fabric

# Mod Version
mod_version = 0.3.12-sakura.9
mod_version = 0.3.12-sakura.10

# Dependencies (malilib, litematica)
#malilib_fileid=4946328
#litematica_fileid=4946471
malilib_version = 0.22.0-sakura.2
malilib_id = e671048f2b
malilib_id = e51ccdcc4e

litematica_version = 0.20.0-sakura.2
litematica_id = c97c1e387d
litematica_version = 0.20.0-sakura.3
litematica_id = 18c57fda79

# Minecraft, Fabric Loader and API and mappings versions
minecraft_version_out = 1.21.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,18 @@ private static void loadSyncmatic(final JsonObject obj, final CallbackInfoReturn
}
}

/*
@Inject(method = "<init>(Lfi/dy/masa/litematica/schematic/LitematicaSchematic;Lnet/minecraft/util/math/BlockPos;Ljava/lang/String;ZZLfi/dy/masa/litematica/schematic/placement/SchematicPlacementManager;)V", at = @At("TAIL"), remap = false)
public void setNull(LitematicaSchematic schematic, BlockPos origin, String name, boolean enabled, boolean enableRender, SchematicPlacementManager placementManager, CallbackInfo ci) {
serverId = null;
}
*/

@Inject(method = "<init>*", at = @At("TAIL"), remap = false)
public void setNull(final LitematicaSchematic schematic, final BlockPos origin, final String name, final boolean enabled, final boolean enableRender, final CallbackInfo ci)
{
serverId = null;
}

@Override
public void syncmatica$setServerId(final UUID i) {
Expand Down

0 comments on commit eaf0836

Please sign in to comment.