Skip to content

Commit

Permalink
Remove Advanced Tooltips Check (#94)
Browse files Browse the repository at this point in the history
Fixes #81. in-mixin check was removed, but not the vanilla one. 
This also makes lodestones show up without advanced (we're assuming this was intended)
  • Loading branch information
sisby-folk authored Jul 29, 2022
1 parent a9302ab commit 55ab362
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,7 @@ private void onGetTooltipBeing(PlayerEntity player, TooltipContext context, Call

@Inject(
method = "getTooltip",
at = @At(
value = "INVOKE",
target = "Lnet/minecraft/item/ItemStack;isDamaged()Z"
)
at = @At(value = "RETURN")
)
private void onGetTooltip(PlayerEntity player, TooltipContext context, CallbackInfoReturnable<List<Text>> cir) {
var tooltip = this.inspecio$tooltipList.get();
Expand Down

0 comments on commit 55ab362

Please sign in to comment.