Yatopia/patches/api/0025-EMC-Human-getAttackPct.patch

25 lines
791 B
Diff
Raw Normal View History

2020-02-26 20:12:29 +01:00
From b90df686f2e770028e00e907d9656d7d84da858c 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 f25c7315..26e0676d 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