mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-29 12:37:40 +01:00
Build against 1.15 APIs
This commit is contained in:
parent
2ccb475aa0
commit
e151fbe298
@ -3,14 +3,14 @@ plugins {
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
|
||||
maven { url 'https://papermc.io/repo/repository/maven-public/' }
|
||||
maven { url 'https://libraries.minecraft.net/' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(':common')
|
||||
|
||||
compileOnly 'org.spigotmc:spigot-api:1.14-R0.1-SNAPSHOT'
|
||||
compileOnly 'com.destroystokyo.paper:paper-api:1.15.1-R0.1-SNAPSHOT'
|
||||
compileOnly 'net.kyori:text-adapter-bukkit:3.0.2'
|
||||
compileOnly 'me.lucko:commodore:1.5'
|
||||
compileOnly('net.milkbowl.vault:VaultAPI:1.6') {
|
||||
|
@ -5,7 +5,7 @@ plugins {
|
||||
dependencies {
|
||||
compile project(':common')
|
||||
|
||||
compileOnly 'net.md-5:bungeecord-api:1.14-SNAPSHOT'
|
||||
compileOnly 'net.md-5:bungeecord-api:1.15-SNAPSHOT'
|
||||
compileOnly 'net.kyori:text-adapter-bungeecord:3.0.2'
|
||||
compileOnly 'com.imaginarycode.minecraft:RedisBungee:0.4'
|
||||
|
||||
|
@ -50,17 +50,17 @@ public abstract class SenderFactory<T> {
|
||||
return this.plugin;
|
||||
}
|
||||
|
||||
protected abstract UUID getUniqueId(T t);
|
||||
protected abstract UUID getUniqueId(T sender);
|
||||
|
||||
protected abstract String getName(T t);
|
||||
protected abstract String getName(T sender);
|
||||
|
||||
protected abstract void sendMessage(T t, String s);
|
||||
protected abstract void sendMessage(T sender, String message);
|
||||
|
||||
protected abstract void sendMessage(T t, Component message);
|
||||
protected abstract void sendMessage(T sender, Component message);
|
||||
|
||||
protected abstract Tristate getPermissionValue(T t, String node);
|
||||
protected abstract Tristate getPermissionValue(T sender, String node);
|
||||
|
||||
protected abstract boolean hasPermission(T t, String node);
|
||||
protected abstract boolean hasPermission(T sender, String node);
|
||||
|
||||
public final Sender wrap(T sender) {
|
||||
Objects.requireNonNull(sender, "sender");
|
||||
|
@ -4,7 +4,7 @@ plugins {
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
maven { url 'https://repo.potestas.xyz/main/' }
|
||||
maven { url 'https://repo.nukkitx.com/main/' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
Loading…
Reference in New Issue
Block a user