diff options
Diffstat (limited to 'src/main/java/com/yulqen/test/Test.java')
-rw-r--r-- | src/main/java/com/yulqen/test/Test.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/com/yulqen/test/Test.java b/src/main/java/com/yulqen/test/Test.java index 52fe7e0..ddca478 100644 --- a/src/main/java/com/yulqen/test/Test.java +++ b/src/main/java/com/yulqen/test/Test.java @@ -1,10 +1,11 @@ package com.yulqen.test; -import org.bukkit.Location; import org.bukkit.World; -import org.bukkit.entity.EntityType; +import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; +import java.util.List; + public final class Test extends JavaPlugin { @Override @@ -17,6 +18,8 @@ public final class Test extends JavaPlugin { // } getServer().getWorld("mad_march_hare").setFullTime(1000); getServer().getPluginManager().registerEvents(new EventListening(), this); + this.getCommand("toss").setExecutor(new GiveMeDiamond()); + this.getCommand("killzombies").setExecutor(new KillZombies()); } @Override |