Skip to content

Commit 98ecbd6

Browse files
committed
bug-fix
1 parent 9bb67d1 commit 98ecbd6

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
88
loader_version=0.13.3
99

1010
# Mod Properties
11-
mod_version = 0.0.3 - 1.18.x
11+
mod_version = 0.1.1-1.18.x
1212
maven_group = net.mision_thi
1313
archives_base_name = nbttooltips
1414

src/main/java/net/mision_thi/nbttooltips/mixin/mision_thi_TooltipChanger.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88
import net.minecraft.item.ItemStack;
99
import net.minecraft.text.*;
1010
import net.mision_thi.nbttooltips.tooltips.TooltipChanger;
11-
import org.slf4j.Logger;
12-
import org.spongepowered.asm.mixin.Final;
1311
import org.spongepowered.asm.mixin.Mixin;
14-
import org.spongepowered.asm.mixin.Shadow;
1512
import org.spongepowered.asm.mixin.injection.At;
1613
import org.spongepowered.asm.mixin.injection.Inject;
1714
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
@@ -23,10 +20,6 @@
2320
@Mixin(ItemStack.class)
2421
public abstract class mision_thi_TooltipChanger {
2522

26-
@Shadow public abstract String toString();
27-
28-
@Shadow @Final private static Logger LOGGER;
29-
3023
@Inject(method = "getTooltip", at = @At("RETURN"), cancellable = true)
3124
protected void injectEditTooltipmethod(PlayerEntity player, TooltipContext context, CallbackInfoReturnable<ArrayList<Text>> info) {
3225

src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schemaVersion": 1,
33
"id": "nbttooltips",
4-
"version": "0.0.2 - 1.18.x",
4+
"version": "0.1.1-1.18.x",
55

66
"name": "NBT tooltips",
77
"description": "A simple fabric Minecraft mod that adds a feature that allows you to see the custom NBT data when you hover over it and press your shift key.",

0 commit comments

Comments
 (0)