Skip to content

Commit

Permalink
add a comment complaining about mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
LemmaEOF committed Nov 28, 2018
1 parent a4e3aa3 commit 485d07e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -38,7 +38,7 @@ private int getChannelingLevel(ItemStack stack) {
return EnchantmentHelper.getEnchantmentLevel(Enchantments.CHANNELING, stack);
}

@Inject(method = "b",
@Inject(method = "b", // this needs to be a notch name because the refmap throws a fit if it isn't and that's not nice
at = @At(value = "INVOKE", target = "Lnet/minecraft/world/World;isThundering()Z"),
cancellable = true,
locals = LocalCapture.CAPTURE_FAILEXCEPTION,
Expand Down

0 comments on commit 485d07e

Please sign in to comment.