Minor Fixes
[no changelog]
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user