From 81b5e33f64f6046acf5d155033b39be17a9fee21 Mon Sep 17 00:00:00 2001 From: Simon Rigby Date: Tue, 22 Feb 2011 01:01:13 +0000 Subject: [PATCH] Added onCommand, testing Eclipse with GIT. --- src/com/onarandombox/MultiVerseCore/MultiVerseCore.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/com/onarandombox/MultiVerseCore/MultiVerseCore.java b/src/com/onarandombox/MultiVerseCore/MultiVerseCore.java index ecc8086f..d33febf8 100644 --- a/src/com/onarandombox/MultiVerseCore/MultiVerseCore.java +++ b/src/com/onarandombox/MultiVerseCore/MultiVerseCore.java @@ -4,6 +4,8 @@ import java.io.File; import java.util.logging.Logger; import org.bukkit.Server; +import org.bukkit.command.Command; +import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.plugin.Plugin; import org.bukkit.plugin.PluginDescriptionFile; @@ -60,6 +62,12 @@ public class MultiVerseCore extends JavaPlugin { @Override public void onDisable() { log.info(logPrefix + "- Disabled"); + } + /** + * onCommand + */ + public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args) { + return debug; } /** * Basic Debug Output function, if we've enabled debugging we'll output more information.