aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-01-19 00:30:35 +0100
committerLinnea Gräf <nea@nea.moe>2024-01-19 00:33:50 +0100
commitfd13f0f55a5e70a1506a58bb4b3c0275c41509b9 (patch)
treeb00a09b74fbb1c0d6ccc1e89f7f9d95a0a6f0b99
parentdcb769967dce8c4e98f035c23f5167553750a94a (diff)
downloadfirmament-fd13f0f55a5e70a1506a58bb4b3c0275c41509b9.tar.gz
firmament-fd13f0f55a5e70a1506a58bb4b3c0275c41509b9.tar.bz2
firmament-fd13f0f55a5e70a1506a58bb4b3c0275c41509b9.zip
Minor Fixes
[no changelog]
-rwxr-xr-xdocs/release_script.sh10
-rw-r--r--src/main/java/moe/nea/firmament/mixins/IncomingPacketListenerPatches.java2
2 files changed, 10 insertions, 2 deletions
diff --git a/docs/release_script.sh b/docs/release_script.sh
index 4573551..bd167b5 100755
--- a/docs/release_script.sh
+++ b/docs/release_script.sh
@@ -125,7 +125,8 @@ git commit -m 'Prepare release '"$newversion"'
[no changelog]'
echo Tagging release commit
git tag "$newversion"
-releasenotes="$basedir/build/releasenotes.md"
+mkdir -p "$basedir/.gradle"
+releasenotes="$basedir/.gradle/releasenotes.md"
echo Building release notes
echo "**Full Changelog**: https://github.com/nea89o/Firmament/compare/$oldversion...$newversion" > "$releasenotes"
@@ -133,6 +134,13 @@ echo >> "$releasenotes"
git log --pretty='- %s' --grep '[no changelog]' --invert-grep --fixed-strings "$oldversion..$newversion" | tac >> "$releasenotes"
echo >> "$releasenotes"
+echo Check Release notes:
+echo ----------------------------------------------
+cat "$releasenotes"
+echo ----------------------------------------------
+echo Press Enter to resume
+read
+
echo Building JAR
"$basedir"/gradlew clean build
diff --git a/src/main/java/moe/nea/firmament/mixins/IncomingPacketListenerPatches.java b/src/main/java/moe/nea/firmament/mixins/IncomingPacketListenerPatches.java
index 88c03d6..a269e09 100644
--- a/src/main/java/moe/nea/firmament/mixins/IncomingPacketListenerPatches.java
+++ b/src/main/java/moe/nea/firmament/mixins/IncomingPacketListenerPatches.java
@@ -23,7 +23,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
public abstract class IncomingPacketListenerPatches {
- @ModifyExpressionValue(method = "onCommandTree", at = @At(value = "NEW", target = "(Lcom/mojang/brigadier/tree/RootCommandNode;)Lcom/mojang/brigadier/CommandDispatcher;"))
+ @ModifyExpressionValue(method = "onCommandTree", at = @At(value = "NEW", target = "(Lcom/mojang/brigadier/tree/RootCommandNode;)Lcom/mojang/brigadier/CommandDispatcher;", remap = false))
public CommandDispatcher onOnCommandTree(CommandDispatcher dispatcher) {
MaskCommands.Companion.publish(new MaskCommands(dispatcher));
return dispatcher;