Skip to content

Commit

Permalink
移除测试的日志输出
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu-ZT committed Oct 17, 2023
1 parent e401cda commit 3886b32
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ private static int getIndex(Item item) {

@Inject(method = "getItemModel(Lnet/minecraft/world/item/Item;)Lnet/minecraft/client/resources/model/BakedModel;", at = @At("HEAD"), cancellable = true)
private void getItemModel(Item item, CallbackInfoReturnable<BakedModel> cir) {
ChineseFestivals.LOGGER.info("test");
for (IFestival festival : Festivals.FESTIVALS) {
if (festival.isNow()) {
Supplier<Item> item1 = festival.getItemReplace().getOrDefault(item, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public ForgeItemModelShaperMixin(ModelManager arg) {

@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) {
if (festival.isNow()) {
Supplier<Item> item1 = festival.getItemReplace().getOrDefault(item, null);
Expand Down

0 comments on commit 3886b32

Please sign in to comment.