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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ public enum BotActionType {
|
||||
ROTATE("rotate"),
|
||||
ROTATION("rotation"),
|
||||
SNEAK("sneak"),
|
||||
STOP("stop"),
|
||||
SWIM("swim"),
|
||||
USE("use"),
|
||||
USE_ON("use_on"),
|
||||
|
||||
Reference in New Issue
Block a user