mirror of
https://github.com/TotalFreedomMC/BukkitTelnet.git
synced 2025-02-05 14:36:09 +00:00
Change to 1.5 log handle.
Increment version.
This commit is contained in:
parent
ea5e1e458e
commit
962c1f586a
4 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
# BukkitTelnet v2.2 Configuration File
|
||||
# BukkitTelnet v2.3 Configuration File
|
||||
|
||||
# Port to bind to:
|
||||
port: 8765
|
||||
|
|
|
@ -163,7 +163,7 @@ public class BT_TelnetListener extends Handler implements CommandSender
|
|||
return;
|
||||
}
|
||||
|
||||
Logger.getLogger("Minecraft").addHandler(this);
|
||||
Logger.getLogger("Minecraft-Server").addHandler(this);
|
||||
|
||||
while (is_running && clientSocket.isConnected() && is_authenticated)
|
||||
{
|
||||
|
@ -248,7 +248,7 @@ public class BT_TelnetListener extends Handler implements CommandSender
|
|||
is_running = false;
|
||||
|
||||
BT_Util.log(Level.INFO, "Closing connection: " + client_ip);
|
||||
Logger.getLogger("Minecraft").removeHandler(this);
|
||||
Logger.getLogger("Minecraft-Server").removeHandler(this);
|
||||
|
||||
if (!clientSocket.isClosed())
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ import org.apache.commons.lang.exception.ExceptionUtils;
|
|||
|
||||
public class BT_Util
|
||||
{
|
||||
private static final Logger logger = Logger.getLogger("Minecraft");
|
||||
private static final Logger logger = Logger.getLogger("Minecraft-Server");
|
||||
|
||||
protected BT_Util()
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: BukkitTelnet
|
||||
main: me.StevenLawson.BukkitTelnet.BukkitTelnet
|
||||
version: 2.2
|
||||
version: 2.3
|
||||
description: Telnet console access plugin.
|
||||
author: bekvon, Madgeek1450 / StevenLawson
|
||||
|
|
Loading…
Reference in a new issue