Skip to content

Commit

Permalink
version bump for release
Browse files Browse the repository at this point in the history
because the build process runs data generation in a production environment the mixin fails due to the load environment being seen as dev.
  • Loading branch information
Caltinor committed Dec 22, 2024
1 parent d35f72f commit 4dc74f5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 72 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import org.spongepowered.asm.mixin.injection.callback.LocalCapture;

@Mixin(CampfireBlockEntity.class)
public class CampfireMixin_Prod {
public class CampfireMixin {
@Inject(at=@At(value = "INVOKE",
target = "Lnet/minecraft/world/Containers;dropItemStack(Lnet/minecraft/world/level/Level;DDDLnet/minecraft/world/item/ItemStack;)V"),
method = "cookTick(Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/entity/CampfireBlockEntity;)V",
Expand Down
26 changes: 0 additions & 26 deletions src/main/java/harmonised/pmmo/mixin/CampfireMixin_Dev.java

This file was deleted.

42 changes: 0 additions & 42 deletions src/main/java/harmonised/pmmo/mixin/MixinPlugin.java

This file was deleted.

4 changes: 1 addition & 3 deletions src/main/resources/pmmo.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
"package": "harmonised.pmmo.mixin",
"compatibilityLevel": "JAVA_17",
"refmap": "pmmo.refmap.json",
"plugin": "harmonised.pmmo.mixin.MixinPlugin",
"mixins": [
"AbstractFurnaceTileEntityShrinkMixin",
"CampfireMixin_Prod",
"CampfireMixin_Dev",
"CampfireMixin",
"ServerLevelMixin"
],
"server": [
Expand Down

0 comments on commit 4dc74f5

Please sign in to comment.