This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
ciortas
eclipse compile error
Buildfile: C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build.xml clean: [delete] Deleting directory C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build checkRequirements: [echo] Verification of your JDK version. version: [echo] aCis gameserver revision: exported init: [mkdir] Created dir: C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build [mkdir] Created dir: C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build\classes [mkdir] Created dir: C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build\dist [mkdir] Created dir: C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build\dist\login [mkdir] Created dir: C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build\dist\gameserver compile: [javac] Compiling 1309 source files to C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build\classes [javac] C:\Users\Sario\workspace\aCis_300\aCis_gameserver\java\net\sf\l2j\gameserver\handler\voicedcommandhandlers\Online.java:26: error: Online is not abstract and does not override abstract method useVoicedCommand(String,L2PcInstance) in IVoicedCommandHandler [javac] public class Online implements IVoicedCommandHandler [javac] ^ [javac] 1 erroronline.java
package net.sf.l2j.gameserver.handler.voicedcommandhandlers; import java.util.StringTokenizer; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; /** * * @author */ public class Online implements IVoicedCommandHandler { private static String[] _voicedCommands = { "online" }; public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if(command.equalsIgnoreCase("online")) { activeChar.sendMessage("======<Status Online>======"); activeChar.sendMessage("Players Online: " + L2World.getInstance().getAllPlayers().size() + ""); activeChar.sendMessage("======================="); } return true; } public String[] getVoicedCommandList() { return _voicedCommands; } }9 answers to this question
Recommended Posts