Merge branch 'bukkittelnet'

This commit is contained in:
unknown 2014-04-03 19:20:03 +02:00
commit 4784348027
2 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Tue Mar 18 16:17:54 CET 2014
build.number=704
#Fri Mar 21 11:38:49 CET 2014
build.number=705

View file

@ -1,5 +1,7 @@
package me.StevenLawson.TotalFreedomMod.Listener;
import me.StevenLawson.BukkitTelnet.api.TelnetCommandEvent;
import me.StevenLawson.BukkitTelnet.api.TelnetPreLoginEvent;
import me.StevenLawson.TotalFreedomMod.TFM_CommandBlocker;
import me.StevenLawson.TotalFreedomMod.TFM_Superadmin;
import me.StevenLawson.TotalFreedomMod.TFM_SuperadminList;
@ -12,7 +14,7 @@ import org.bukkit.event.Listener;
public class TFM_TelnetListener implements Listener
{
@EventHandler(priority = EventPriority.NORMAL)
public void onTelnetPreLogin(me.StevenLawson.BukkitTelnet.TelnetPreLoginEvent event)
public void onTelnetPreLogin(TelnetPreLoginEvent event)
{
final String ip = event.getIp();
@ -41,7 +43,7 @@ public class TFM_TelnetListener implements Listener
}
@EventHandler(priority = EventPriority.NORMAL)
public void onTelnetCommand(me.StevenLawson.BukkitTelnet.TelnetCommandEvent event)
public void onTelnetCommand(TelnetCommandEvent event)
{
if (TFM_CommandBlocker.getInstance().isCommandBlocked(event.getCommand(), event.getSender()))
{