diff options
Diffstat (limited to 'src/main/java/com/yulqen/test/Test.java')
-rw-r--r-- | src/main/java/com/yulqen/test/Test.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/com/yulqen/test/Test.java b/src/main/java/com/yulqen/test/Test.java index ddca478..1c553af 100644 --- a/src/main/java/com/yulqen/test/Test.java +++ b/src/main/java/com/yulqen/test/Test.java @@ -1,11 +1,8 @@ package com.yulqen.test; import org.bukkit.World; -import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; -import java.util.List; - public final class Test extends JavaPlugin { @Override @@ -18,7 +15,7 @@ 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("diamonds").setExecutor(new GiveMeDiamond()); this.getCommand("killzombies").setExecutor(new KillZombies()); } |