summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/yulqen/test/Test.java
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-09-30 14:28:36 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-09-30 14:28:36 +0100
commit83aa1c52cdf4d0fb132da0218ba40e0b898bddf4 (patch)
tree8f1d3ea5b8679c73b6504de917125f7119a902d2 /src/main/java/com/yulqen/test/Test.java
parent0b8d42bccae4b3ca6e888f5d4294bd15777cdda1 (diff)
progress
Diffstat (limited to 'src/main/java/com/yulqen/test/Test.java')
-rw-r--r--src/main/java/com/yulqen/test/Test.java5
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());
}