Skip to content

Commit

Permalink
fixed log spam
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigereye504 committed Feb 14, 2022
1 parent 1609ac3 commit 9e7ef18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.12.8

# Mod Properties
mod_version = 0.4.0.1
mod_version = 0.4.0.2
maven_group = com.github.tigereye.modify_drops_api
archives_base_name = modify-drops-api

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public Consumer<ItemStack> generateUnprocessedLootMixin_InterceptConsumerReplace

@Inject(method = "generateUnprocessedLoot", at = @At("TAIL"))
public void generateUnprocessedLootMixin_ModifyPopulatedListAndFeedConsumer(LootContext context, Consumer<ItemStack> lootConsumer, CallbackInfo ci){
ModifyDropsAPI.LOGGER.info("modifyDropsAPI is modifying "+interceptedLoot.size()+" drops");
ModifyDropsAPI.LOGGER.debug("modifyDropsAPI is modifying "+interceptedLoot.size()+" drops");
interceptedLoot.addAll(GenerateLootCallbackAddLoot.EVENT.invoker().AddDrops(((LootTable)(Object)this).getType(),context));
interceptedLoot = GenerateLootCallbackModifyLoot.EVENT.invoker().ModifyDrops(((LootTable)(Object)this).getType(),context, interceptedLoot);
interceptedLoot.addAll(GenerateLootCallbackAddUnmodifiableLoot.EVENT.invoker().AddDrops(((LootTable)(Object)this).getType(),context));
Expand Down

0 comments on commit 9e7ef18

Please sign in to comment.