SteamWar/BungeeCore
Archiviert
13
2

Fix BrandListener #207

Manuell gemergt
Lixfel hat 1 Commits von fix_brand nach master 2021-05-14 15:46:09 +02:00 zusammengeführt

Datei anzeigen

@ -21,7 +21,6 @@ package de.steamwar.bungeecore.listeners;
import de.steamwar.bungeecore.BungeeCore;
import de.steamwar.bungeecore.Message;
import de.steamwar.bungeecore.sql.SteamwarUser;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufAllocator;
import net.md_5.bungee.api.connection.ProxiedPlayer;
@ -29,7 +28,6 @@ import net.md_5.bungee.api.event.PluginMessageEvent;
import net.md_5.bungee.event.EventHandler;
import net.md_5.bungee.protocol.DefinedPacket;
import net.md_5.bungee.protocol.ProtocolConstants;
import net.md_5.bungee.protocol.packet.PluginMessage;
import java.util.concurrent.TimeUnit;
@ -37,7 +35,7 @@ public class BrandListener extends BasicListener {
@EventHandler
public void onServerSwitch(PluginMessageEvent event) {
if(event.getTag().equals("minecraft:brand") || event.getTag().equals("MC|Brand")) {
if(!event.getTag().equals("minecraft:brand") || !event.getTag().equals("MC|Brand")) {
return;
}