fix build

This commit is contained in:
MiniDigger 2021-06-17 22:25:52 +02:00
parent 13e04200c7
commit 30cdf3b8b1

View File

@ -491,7 +491,7 @@ index 0000000000000000000000000000000000000000..dfc026d183adab1dde5942f36e7a281b
+} +}
diff --git a/src/main/java/com/destroystokyo/paper/entity/ai/PaperCustomGoal.java b/src/main/java/com/destroystokyo/paper/entity/ai/PaperCustomGoal.java diff --git a/src/main/java/com/destroystokyo/paper/entity/ai/PaperCustomGoal.java b/src/main/java/com/destroystokyo/paper/entity/ai/PaperCustomGoal.java
new file mode 100644 new file mode 100644
index 0000000000000000000000000000000000000000..8cd0d4b73d3b5c5bb5d83cca9d13e165a7d9b792 index 0000000000000000000000000000000000000000..ddf1a34ef6aba584d30a5419a5109ad66385975c
--- /dev/null --- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/entity/ai/PaperCustomGoal.java +++ b/src/main/java/com/destroystokyo/paper/entity/ai/PaperCustomGoal.java
@@ -0,0 +1,54 @@ @@ -0,0 +1,54 @@
@ -517,12 +517,12 @@ index 0000000000000000000000000000000000000000..8cd0d4b73d3b5c5bb5d83cca9d13e165
+ } + }
+ +
+ @Override + @Override
+ public boolean shouldActivate() { + public boolean canUse() {
+ return handle.shouldActivate(); + return handle.shouldActivate();
+ } + }
+ +
+ @Override + @Override
+ public boolean shouldStayActive() { + public boolean canContinueToUse() {
+ return handle.shouldStayActive(); + return handle.shouldStayActive();
+ } + }
+ +