Fix compilation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From e7febe25992426125545ed3cee761b525a8231c3 Mon Sep 17 00:00:00 2001
|
||||
From ff3cac69313d04099bc0005676832b9b92d7fb5e Mon Sep 17 00:00:00 2001
|
||||
From: BillyGalbreath <Blake.Galbreath@GMail.com>
|
||||
Date: Sat, 22 Sep 2018 00:32:53 -0500
|
||||
Subject: [PATCH] Add LivingEntity#getTargetEntity
|
||||
@@ -6,7 +6,7 @@ Subject: [PATCH] Add LivingEntity#getTargetEntity
|
||||
|
||||
diff --git a/src/main/java/com/destroystokyo/paper/entity/TargetEntityInfo.java b/src/main/java/com/destroystokyo/paper/entity/TargetEntityInfo.java
|
||||
new file mode 100644
|
||||
index 00000000..f52644fa
|
||||
index 000000000..f52644fab
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/com/destroystokyo/paper/entity/TargetEntityInfo.java
|
||||
@@ -0,0 +1,38 @@
|
||||
@@ -49,10 +49,10 @@ index 00000000..f52644fa
|
||||
+ }
|
||||
+}
|
||||
diff --git a/src/main/java/org/bukkit/entity/LivingEntity.java b/src/main/java/org/bukkit/entity/LivingEntity.java
|
||||
index 75761f2d..7f3c0a6e 100644
|
||||
index 6b2002ceb..757cc5826 100644
|
||||
--- a/src/main/java/org/bukkit/entity/LivingEntity.java
|
||||
+++ b/src/main/java/org/bukkit/entity/LivingEntity.java
|
||||
@@ -149,6 +149,50 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
|
||||
@@ -150,6 +150,50 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
|
||||
*/
|
||||
@Nullable
|
||||
public com.destroystokyo.paper.block.TargetBlockInfo getTargetBlockInfo(int maxDistance, @NotNull com.destroystokyo.paper.block.TargetBlockInfo.FluidMode fluidMode);
|
||||
|
||||
Reference in New Issue
Block a user