Yatopia/patches/api/0023-EMC-Human-getAttackPct.patch
2020-05-12 19:47:53 +02:00

25 lines
793 B
Diff

From c131a44a6eef73197a6a1953adc55d4428444ab1 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Sun, 17 Jun 2018 02:08:40 -0400
Subject: [PATCH] EMC Human#getAttackPct
---
src/main/java/org/bukkit/entity/HumanEntity.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/java/org/bukkit/entity/HumanEntity.java b/src/main/java/org/bukkit/entity/HumanEntity.java
index c0d38f5a3..70f046ce5 100644
--- a/src/main/java/org/bukkit/entity/HumanEntity.java
+++ b/src/main/java/org/bukkit/entity/HumanEntity.java
@@ -20,6 +20,7 @@ import org.jetbrains.annotations.Nullable;
*/
public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder {
+ float getAttackPct(); // EMC
/**
* Returns the name of this player
*
--
2.25.1.windows.1