mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-27 13:15:44 +01:00
Upgrade Fabric to MC 1.20.3
This commit is contained in:
parent
f14798b368
commit
43f4d490bb
@ -13,9 +13,9 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
// https://modmuss50.me/fabric.html
|
||||
minecraft 'com.mojang:minecraft:1.20.2'
|
||||
mappings 'net.fabricmc:yarn:1.20.2+build.2:v2'
|
||||
modImplementation 'net.fabricmc:fabric-loader:0.14.22'
|
||||
minecraft 'com.mojang:minecraft:1.20.3'
|
||||
mappings 'net.fabricmc:yarn:1.20.3+build.1:v2'
|
||||
modImplementation 'net.fabricmc:fabric-loader:0.15.0'
|
||||
|
||||
Set<String> apiModules = [
|
||||
'fabric-api-base',
|
||||
@ -25,7 +25,7 @@ dependencies {
|
||||
]
|
||||
|
||||
apiModules.forEach {
|
||||
modImplementation(fabricApi.module(it, '0.89.3+1.20.2'))
|
||||
modImplementation(fabricApi.module(it, '0.91.1+1.20.3'))
|
||||
}
|
||||
|
||||
include(modImplementation('me.lucko:fabric-permissions-api:0.2-SNAPSHOT'))
|
||||
|
@ -30,7 +30,6 @@ import me.lucko.luckperms.common.locale.TranslationManager;
|
||||
import me.lucko.luckperms.common.sender.Sender;
|
||||
import me.lucko.luckperms.common.sender.SenderFactory;
|
||||
import me.lucko.luckperms.fabric.mixin.ServerCommandSourceAccessor;
|
||||
import me.lucko.luckperms.fabric.model.MixinUser;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer;
|
||||
import net.luckperms.api.util.Tristate;
|
||||
@ -118,6 +117,6 @@ public class FabricSenderFactory extends SenderFactory<LPFabricPlugin, ServerCom
|
||||
}
|
||||
|
||||
public static Text toNativeText(Component component) {
|
||||
return Text.Serializer.fromJson(GsonComponentSerializer.gson().serialize(component));
|
||||
return Text.Serialization.fromJson(GsonComponentSerializer.gson().serialize(component));
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
shadow = "8.1.1"
|
||||
blossom = "1.3.1"
|
||||
forgegradle = "[6.0,6.2)"
|
||||
loom = "1.3-SNAPSHOT"
|
||||
loom = "1.4-SNAPSHOT"
|
||||
licenser = "0.6.1"
|
||||
|
||||
[plugins]
|
||||
|
Loading…
Reference in New Issue
Block a user