Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
571 B
2
Indexable
Never
package ballistickemu.Lobby.handlers;

import ballistickemu.Lobby.LobbyServer;
import ballistickemu.Main;
import ballistickemu.Tools.StickPacketMaker;
import ballistickemu.Types.StickClient;


public class ModBanHandler
{
  public static void HandlePacket(StickClient paramStickClient, String paramString)
  {
    if (!paramStickClient.getModStatus().booleanValue()) return;
    String str1 = paramString.substring(2, 5);
    String str2 = paramString.substring(5);
    
    Main.getLobbyServer().sendToUID(str1, StickPacketMaker.getBanMsg(str2));
  }
}