Fixing my first test, to verify if my install worked properly
This commit is contained in:
+9
@@ -2,6 +2,10 @@ package eu.mhsl.craftattack.spawn.craftattack.appliances.gameplay.mobSilenceName
|
||||
|
||||
import eu.mhsl.craftattack.spawn.core.appliance.Appliance;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class FirstTestClass extends Appliance {
|
||||
|
||||
@@ -9,4 +13,9 @@ public class FirstTestClass extends Appliance {
|
||||
return "Hello, " + player.getName() + "! Test 1";
|
||||
}
|
||||
|
||||
protected @NotNull List<Listener> listeners() {
|
||||
return List.of(new FirstTestListener());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user