summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxeology <xeology@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-08 03:37:46 +0000
committerxeology <xeology@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-08 03:37:46 +0000
commite4c79cf8955b64a3dab7a32d9d61a28ae7adac50 (patch)
treeb2e1b266ea4043083311dc8b3741810cc0e7cab5
parentf2a6bb39f0fd9c89938d899dfb4152d46c247c22 (diff)
downloadEssentials-e4c79cf8955b64a3dab7a32d9d61a28ae7adac50.tar
Essentials-e4c79cf8955b64a3dab7a32d9d61a28ae7adac50.tar.gz
Essentials-e4c79cf8955b64a3dab7a32d9d61a28ae7adac50.tar.lz
Essentials-e4c79cf8955b64a3dab7a32d9d61a28ae7adac50.tar.xz
Essentials-e4c79cf8955b64a3dab7a32d9d61a28ae7adac50.zip
Fixed bad Main class. -iConomy Bridge4
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1368 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/iConomy.java15
1 files changed, 14 insertions, 1 deletions
diff --git a/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/iConomy.java b/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/iConomy.java
index df7583580..648b27378 100644
--- a/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/iConomy.java
+++ b/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/iConomy.java
@@ -2,6 +2,7 @@ package com.nijiko.coelho.iConomy;
import com.nijiko.coelho.iConomy.system.Bank;
import java.util.logging.Logger;
+import org.bukkit.plugin.java.JavaPlugin;
/**
@@ -10,7 +11,7 @@ import java.util.logging.Logger;
* @author Xeology
*/
-public class iConomy{
+public class iConomy extends JavaPlugin{
public static Bank Bank = new Bank();
private static final Logger logger = Logger.getLogger("Minecraft");
@@ -19,4 +20,16 @@ public class iConomy{
{
return Bank;
}
+
+ @Override
+ public void onDisable()
+ {
+
+ }
+
+ @Override
+ public void onEnable()
+ {
+ logger.info("Essentials iConomy Bridge is now activated!!");
+ }
}