Packet not sending
I have this
import org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatCommandPacket
class testclass {
companion object {
fun testfunction() {
Bot.session?.send(ServerboundChatCommandPacket("say hi"))
}
}
}
and I execute it in another file on ClientboundLoginPacket with testclass.testfunction()
Why doesn't it execute the packet? The bot has OP permissions
0 条评论