时间:2023 10 28
主要内容:融合由 JustAlittleWolf 提交的PR,修复刷新按钮的问题。
[PR链接](https://github.com/TheWhiteDog9487/ServerAddressSpaceFix/pull/1)
然后我把trim方法替换成了更加激进的replace,这样就算是地址中间有空格也没问题。
然后fabric.mod.json中的Homepage属性从Github改成了Modrinth
并且更改了Gradle构造的输出文件名
This commit is contained in:
2023-10-28 11:09:26 +08:00
parent 082c354873
commit eb72da348e
8 changed files with 18 additions and 42 deletions

View File

@@ -1,15 +0,0 @@
package xyz.thewhitedog9487.mixin;
import net.minecraft.server.MinecraftServer;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(MinecraftServer.class)
public class ExampleMixin {
@Inject(at = @At("HEAD"), method = "loadWorld")
private void init(CallbackInfo info) {
// This code is injected into the start of MinecraftServer.loadWorld()V
}
}

View File

@@ -8,7 +8,7 @@
"TheWhiteDog9487"
],
"contact": {
"homepage": "https://github.com/TheWhiteDog9487/ServerAddressSpaceFix",
"homepage": "https://modrinth.com/mod/serveraddressspacefix",
"sources": "https://github.com/TheWhiteDog9487/ServerAddressSpaceFix",
"issues": "https://github.com/TheWhiteDog9487/ServerAddressSpaceFix/issues"
},