mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-19 13:01:20 +02:00
Server-Layer Part 1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.earth2me.essentials.xmpp;
|
||||
|
||||
import com.earth2me.essentials.Console;
|
||||
import com.earth2me.essentials.api.server.ICommandSender;
|
||||
import com.earth2me.essentials.commands.EssentialsCommand;
|
||||
import com.earth2me.essentials.commands.NotEnoughArgumentsException;
|
||||
import org.bukkit.command.CommandSender;
|
||||
@@ -10,7 +11,7 @@ import org.bukkit.entity.Player;
|
||||
public class Commandxmpp extends EssentialsCommand
|
||||
{
|
||||
@Override
|
||||
protected void run(final CommandSender sender, final String commandLabel, final String[] args) throws NotEnoughArgumentsException
|
||||
protected void run(final ICommandSender sender, final String commandLabel, final String[] args) throws NotEnoughArgumentsException
|
||||
{
|
||||
if (args.length < 2)
|
||||
{
|
||||
|
@@ -1,5 +1,6 @@
|
||||
package com.earth2me.essentials.xmpp;
|
||||
|
||||
import com.earth2me.essentials.api.server.ICommandSender;
|
||||
import com.earth2me.essentials.commands.EssentialsCommand;
|
||||
import com.earth2me.essentials.commands.NotEnoughArgumentsException;
|
||||
import java.util.List;
|
||||
@@ -10,7 +11,7 @@ import org.bukkit.entity.Player;
|
||||
public class Commandxmppspy extends EssentialsCommand
|
||||
{
|
||||
@Override
|
||||
protected void run(final CommandSender sender, final String commandLabel, final String[] args) throws NotEnoughArgumentsException
|
||||
protected void run(final ICommandSender sender, final String commandLabel, final String[] args) throws NotEnoughArgumentsException
|
||||
{
|
||||
if (args.length < 1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user