From 83aa1c52cdf4d0fb132da0218ba40e0b898bddf4 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 30 Sep 2020 14:28:36 +0100 Subject: progress --- src/main/java/com/yulqen/test/Test.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/main/java/com/yulqen/test/Test.java') 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()); } -- cgit v1.2.3