Dieser Commit ist enthalten in:
Ursprung
87c8f89b53
Commit
a6eae91dd2
@ -24,6 +24,10 @@ compileJava.options.encoding = 'UTF-8'
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
||||||
|
maven {
|
||||||
|
url = 'https://nexus.codecrafter47.de/content/repositories/public'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@ -33,5 +37,5 @@ dependencies {
|
|||||||
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
|
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
|
||||||
|
|
||||||
implementation files("${projectDir}/lib/BungeeCord.jar")
|
implementation files("${projectDir}/lib/BungeeCord.jar")
|
||||||
implementation files("${projectDir}/lib/BungeeTabListPlus.jar")
|
implementation 'codecrafter47.bungeetablistplus:bungeetablistplus-api-bungee:3.5.2'
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
rootProject.name = 'SteamWarBungeeTeamserver'
|
rootProject.name = 'SteamWarTeamserver'
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
package de.steamwar.utils;
|
package de.steamwar.utils;
|
||||||
|
|
||||||
import codecrafter47.bungeetablistplus.BungeeTabListPlus;
|
import codecrafter47.bungeetablistplus.api.bungee.BungeeTabListPlusAPI;
|
||||||
import de.codecrafter47.taboverlay.TabView;
|
import de.codecrafter47.taboverlay.TabView;
|
||||||
import lombok.experimental.UtilityClass;
|
import lombok.experimental.UtilityClass;
|
||||||
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||||
@ -28,7 +28,7 @@ import net.md_5.bungee.api.connection.ProxiedPlayer;
|
|||||||
public class BungeeTabListPlusFixer {
|
public class BungeeTabListPlusFixer {
|
||||||
|
|
||||||
public static void remove(ProxiedPlayer player) {
|
public static void remove(ProxiedPlayer player) {
|
||||||
TabView tabView = BungeeTabListPlus.getInstance().getTabViewManager().getTabView(player);
|
TabView tabView = BungeeTabListPlusAPI.getTabViewForPlayer(player);
|
||||||
if (tabView != null) {
|
if (tabView != null) {
|
||||||
tabView.deactivate();
|
tabView.deactivate();
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren