diff --git a/build.properties b/build.properties index 127c6ff..02fa3ee 100644 --- a/build.properties +++ b/build.properties @@ -3,7 +3,7 @@ mapping_channel=parchment forge_version=47.1.3 mod_id=morphtool dir_repo=./ -build_number=37 +build_number=38 dir_output=../Build Output/Morphtool/ mapping_version=2023.09.03-1.20.1 version=1.7 diff --git a/changelog.txt b/changelog.txt index 7c657d5..5c711e6 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,2 +1,2 @@ -- Updated several lang files -- Added a several mod items to the default config \ No newline at end of file +- Fixed: Rotation feature not working +- Fixed: Removing an Item from the Tool changes its title to the raw name \ No newline at end of file diff --git a/src/main/java/vazkii/morphtool/MorphToolItem.java b/src/main/java/vazkii/morphtool/MorphToolItem.java index 57f5427..f390203 100644 --- a/src/main/java/vazkii/morphtool/MorphToolItem.java +++ b/src/main/java/vazkii/morphtool/MorphToolItem.java @@ -31,7 +31,6 @@ public InteractionResult useOn(UseOnContext context) { if (level.setBlock(pos, block.rotate(level, pos, Rotation.CLOCKWISE_90), Block.UPDATE_ALL)) { return InteractionResult.sidedSuccess(level.isClientSide); } - return super.useOn(context); } diff --git a/src/main/java/vazkii/morphtool/MorphingHandler.java b/src/main/java/vazkii/morphtool/MorphingHandler.java index de2ef68..c21cb16 100644 --- a/src/main/java/vazkii/morphtool/MorphingHandler.java +++ b/src/main/java/vazkii/morphtool/MorphingHandler.java @@ -73,6 +73,7 @@ public static void removeItemFromTool(Entity e, ItemStack stack, boolean itemBro } copyCmp.remove("display"); + copyCmp.remove(TAG_MORPHING_TOOL); copyCmp.remove(TAG_MORPH_TOOL_DISPLAY_NAME); copyCmp.remove(TAG_MORPH_TOOL_DATA);