Rename and clean up MapleClient

This commit is contained in:
P0nk
2021-09-09 21:13:48 +02:00
parent da8837710a
commit b07e6799dc
425 changed files with 1110 additions and 1109 deletions

View File

@@ -23,7 +23,7 @@
*/
package client.command.commands.gm0;
import client.MapleClient;
import client.Client;
import client.command.Command;
import java.text.DateFormat;
@@ -37,7 +37,7 @@ public class TimeCommand extends Command {
}
@Override
public void execute(MapleClient client, String[] params) {
public void execute(Client client, String[] params) {
DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
dateFormat.setTimeZone(TimeZone.getDefault());
client.getPlayer().yellowMessage("Cosmic Server Time: " + dateFormat.format(new Date()));