diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-09-28 21:48:29 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-09-28 21:48:29 +0100 |
commit | 7678dabfb2d3550d51cf1514807885e6e7b37b20 (patch) | |
tree | e01f7bb0b12df0e533fcdd859fb702ede5f31297 /src/main/java/com/yulqen/test/Test.java | |
parent | be838b99c1b108049d0027b7ee79dd06f1a5f05a (diff) |
joe tires, sophie mines iron, two commands
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 |