9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2026-01-06 15:51:33 +00:00

Fix/Update Bot API (#435)

This commit is contained in:
Lumine1909
2025-03-18 21:24:44 +08:00
committed by GitHub
parent cfcfb4e521
commit 4b9f5de695
2 changed files with 1 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ import java.util.function.Consumer;
public interface BotCreator {
default BotCreator of(String realName, Location location) {
static BotCreator of(String realName, Location location) {
return Bukkit.getBotManager().botCreator(realName, location);
}

View File

@@ -13,7 +13,6 @@ public enum BotActionType {
ROTATE("rotate"),
ROTATION("rotation"),
SNEAK("sneak"),
STOP("stop"),
SWIM("swim"),
USE("use"),
USE_ON("use_on"),