added big events in craftattack plugin

This commit is contained in:
2025-12-20 18:23:06 +01:00
parent 5cda58408a
commit bd883a4fa1
4 changed files with 53 additions and 23 deletions

View File

@@ -3,7 +3,7 @@ package eu.mhsl.craftattack.spawn.event.appliances.eventController;
import eu.mhsl.craftattack.spawn.core.Main;
import eu.mhsl.craftattack.spawn.core.appliance.Appliance;
import eu.mhsl.craftattack.spawn.core.appliance.ApplianceCommand;
import eu.mhsl.craftattack.spawn.event.appliances.eventController.commands.EventCommand;
import eu.mhsl.craftattack.spawn.event.appliances.eventController.commands.BigEventCommand;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor;
import net.kyori.adventure.util.Ticks;
@@ -95,7 +95,7 @@ public class EventController extends Appliance {
@Override
protected @NotNull List<ApplianceCommand<?>> commands() {
return List.of(
new EventCommand()
new BigEventCommand()
);
}
}

View File

@@ -10,8 +10,8 @@ import org.jetbrains.annotations.Nullable;
import java.util.List;
public class EventCommand extends ApplianceCommand<EventController> {
public EventCommand() {
public class BigEventCommand extends ApplianceCommand<EventController> {
public BigEventCommand() {
super("event");
}