Changed /map to /dynmap.

This commit is contained in:
FrozenCow 2011-01-23 12:07:23 +01:00
parent 676f6c5a3e
commit 34093874bc

View File

@ -16,7 +16,7 @@ public class DynmapPlayerListener extends PlayerListener {
@Override @Override
public void onPlayerCommand(PlayerChatEvent event) { public void onPlayerCommand(PlayerChatEvent event) {
String[] split = event.getMessage().split(" "); String[] split = event.getMessage().split(" ");
if (split[0].equalsIgnoreCase("/map")) { if (split[0].equalsIgnoreCase("/dynmap")) {
if (split.length > 1) { if (split.length > 1) {
if (split[1].equals("render")) { if (split[1].equals("render")) {
Player player = event.getPlayer(); Player player = event.getPlayer();