mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-27 05:05:22 +01:00
Update Forge to MC 1.21
This commit is contained in:
parent
f984ebbb46
commit
d748817351
10
build.gradle
10
build.gradle
@ -64,6 +64,16 @@ subprojects {
|
||||
}
|
||||
|
||||
repositories {
|
||||
// Fix issue with lwjgl-freetype not being found on macOS / ForgeGradle issue
|
||||
//
|
||||
// Could not resolve all files for configuration ':_compileJava_1'.
|
||||
// Could not find lwjgl-freetype-3.3.3-natives-macos-patch.jar (org.lwjgl:lwjgl-freetype:3.3.3).
|
||||
maven {
|
||||
url "https://libraries.minecraft.net"
|
||||
content {
|
||||
includeModule("org.lwjgl", "lwjgl-freetype")
|
||||
}
|
||||
}
|
||||
mavenCentral()
|
||||
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
|
||||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
||||
|
@ -41,7 +41,7 @@ public interface UserCapability {
|
||||
/**
|
||||
* The identifier used for the capability
|
||||
*/
|
||||
ResourceLocation IDENTIFIER = new ResourceLocation("luckperms", "user");
|
||||
ResourceLocation IDENTIFIER = ResourceLocation.fromNamespaceAndPath("luckperms", "user");
|
||||
|
||||
/**
|
||||
* The capability instance.
|
||||
|
@ -1,2 +1,2 @@
|
||||
minecraftVersion=1.20.6
|
||||
forgeVersion=50.0.9
|
||||
minecraftVersion=1.21
|
||||
forgeVersion=51.0.8
|
@ -45,7 +45,7 @@ import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
public class PluginMessageMessenger extends AbstractPluginMessageMessenger implements Messenger {
|
||||
private static final ResourceLocation CHANNEL_ID = new ResourceLocation(AbstractPluginMessageMessenger.CHANNEL);
|
||||
private static final ResourceLocation CHANNEL_ID = ResourceLocation.parse(AbstractPluginMessageMessenger.CHANNEL);
|
||||
private static final EventNetworkChannel CHANNEL = ChannelBuilder.named(CHANNEL_ID).eventNetworkChannel();
|
||||
|
||||
private final LPForgePlugin plugin;
|
||||
|
@ -52,7 +52,7 @@ import java.util.Set;
|
||||
import java.util.UUID;
|
||||
|
||||
public class ForgePermissionHandler implements IPermissionHandler {
|
||||
public static final ResourceLocation IDENTIFIER = new ResourceLocation(LPForgeBootstrap.ID, "permission_handler");
|
||||
public static final ResourceLocation IDENTIFIER = ResourceLocation.fromNamespaceAndPath(LPForgeBootstrap.ID, "permission_handler");
|
||||
|
||||
private final LPForgePlugin plugin;
|
||||
private final Set<PermissionNode<?>> permissionNodes;
|
||||
|
Loading…
Reference in New Issue
Block a user