diff --git a/build.properties b/build.properties index 00e64f2..8b66ee9 100644 --- a/build.properties +++ b/build.properties @@ -1,4 +1,4 @@ -#Mon Aug 05 15:03:26 UTC 2024 +#Mon Aug 05 18:32:28 UTC 2024 mapping_channel=parchment forge_version=47.2.0 mod_id=akashictome diff --git a/src/main/java/vazkii/akashictome/ConfigHandler.java b/src/main/java/vazkii/akashictome/ConfigHandler.java index 3191312..2239aea 100644 --- a/src/main/java/vazkii/akashictome/ConfigHandler.java +++ b/src/main/java/vazkii/akashictome/ConfigHandler.java @@ -30,7 +30,6 @@ public ConfigHandler(ForgeConfigSpec.Builder builder) { Predicate validator = o -> o instanceof String; - //TODO update this list whitelistedItems = builder.defineList("Whitelisted Items", Lists.newArrayList("roots:runedtablet", "opencomputers:tool:4", diff --git a/src/main/java/vazkii/akashictome/TomeItem.java b/src/main/java/vazkii/akashictome/TomeItem.java index 1554fc6..e0d69ad 100644 --- a/src/main/java/vazkii/akashictome/TomeItem.java +++ b/src/main/java/vazkii/akashictome/TomeItem.java @@ -43,7 +43,7 @@ public InteractionResult useOn(UseOnContext context) { if (playerIn.isShiftKeyDown()) { String mod = MorphingHandler.getModFromState(worldIn.getBlockState(pos)); ItemStack newStack = MorphingHandler.getShiftStackForMod(stack, mod); - if (!ItemStack.isSameItem(newStack, stack)) { //TODO test if sameTags as well + if (!ItemStack.isSameItem(newStack, stack)) { playerIn.setItemInHand(hand, newStack); return InteractionResult.SUCCESS; } diff --git a/src/main/java/vazkii/akashictome/client/HUDHandler.java b/src/main/java/vazkii/akashictome/client/HUDHandler.java index 7fdd28e..2f0a3f5 100644 --- a/src/main/java/vazkii/akashictome/client/HUDHandler.java +++ b/src/main/java/vazkii/akashictome/client/HUDHandler.java @@ -53,7 +53,7 @@ public void onDrawScreen(RenderGuiOverlayEvent.Post event) { if (!state.isAir()) { ItemStack drawStack = ItemStack.EMPTY; - MutableComponent line1 = null; + String line1 = ""; String line2 = ""; String mod = MorphingHandler.getModFromState(state);