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

25 lines
791 B
Diff
Raw Normal View History

2020-06-16 16:46:05 +02:00
From 889328972ef434bf9674d652ee0fe734113f70f8 Mon Sep 17 00:00:00 2001
2020-02-26 20:12:29 +01:00
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
2020-06-16 16:46:05 +02:00
index c0d38f5a..70f046ce 100644
2020-02-26 20:12:29 +01:00
--- 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