Skip to content

Commit

Permalink
由于getItemModel继承自原版方法,需要重映射
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu-ZT committed Oct 17, 2023
1 parent 7df0f11 commit e401cda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public ForgeItemModelShaperMixin(ModelManager arg) {
super(arg);
}

@Inject(method = "getItemModel", remap = false, at = @At("HEAD"), cancellable = true)
@Inject(method = "getItemModel", at = @At("HEAD"), cancellable = true)
private void getItemModel(Item item, CallbackInfoReturnable<BakedModel> cir) {
ChineseFestivals.LOGGER.info("test");
for (IFestival festival : Festivals.FESTIVALS) {
Expand Down

0 comments on commit e401cda

Please sign in to comment.