Skip to content

Commit

Permalink
fixing stuff (I hate u github)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uraneptus committed Aug 7, 2024
1 parent ae8e320 commit afb3ac0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion src/main/java/vazkii/akashictome/ConfigHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public ConfigHandler(ForgeConfigSpec.Builder builder) {

Predicate<Object> validator = o -> o instanceof String;

//TODO update this list
whitelistedItems = builder.defineList("Whitelisted Items",
Lists.newArrayList("roots:runedtablet",
"opencomputers:tool:4",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/vazkii/akashictome/TomeItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/vazkii/akashictome/client/HUDHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit afb3ac0

Please sign in to comment.