aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0310-Left-handed-API.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2024-05-26 12:51:15 -0700
committerGitHub <[email protected]>2024-05-26 12:51:15 -0700
commit9774a52d110f29e4be956d1aad7bb4c99b50d21d (patch)
tree87b4d46a37670e8fadfae8bc4924fcf633616457 /patches/api/0310-Left-handed-API.patch
parentca50b87947e0aca6017a7d4b242d892b930ae2c2 (diff)
downloadPaper-9774a52d110f29e4be956d1aad7bb4c99b50d21d.tar.gz
Paper-9774a52d110f29e4be956d1aad7bb4c99b50d21d.zip
fix and cleanup loot table patches (#10100)
* fix and cleanup loot table patches * fixes
Diffstat (limited to 'patches/api/0310-Left-handed-API.patch')
-rw-r--r--patches/api/0310-Left-handed-API.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/patches/api/0310-Left-handed-API.patch b/patches/api/0310-Left-handed-API.patch
index cae17a697b..ea746f73d4 100644
--- a/patches/api/0310-Left-handed-API.patch
+++ b/patches/api/0310-Left-handed-API.patch
@@ -5,15 +5,15 @@ Subject: [PATCH] Left handed API
diff --git a/src/main/java/org/bukkit/entity/Mob.java b/src/main/java/org/bukkit/entity/Mob.java
-index 709c8fc3dde786f45ff13d6ee6c405ffdc765282..0c511b64672f9bafb92be3aea6bab8c1c12a7041 100644
+index 91d31e5418a5ab7cefd7c02a41bbec8464fe7ab1..d55250d820b02f3a23b99a59e68d3361698baddf 100644
--- a/src/main/java/org/bukkit/entity/Mob.java
+++ b/src/main/java/org/bukkit/entity/Mob.java
-@@ -196,4 +196,20 @@ public interface Mob extends LivingEntity, Lootable {
+@@ -204,4 +204,20 @@ public interface Mob extends LivingEntity, Lootable {
*/
void setAggressive(boolean aggressive);
- // Paper end
+ // Paper end - Missing Entity API
+
-+ // Paper start
++ // Paper start - left-handed API
+ /**
+ * Check if Mob is left-handed
+ *
@@ -27,5 +27,5 @@ index 709c8fc3dde786f45ff13d6ee6c405ffdc765282..0c511b64672f9bafb92be3aea6bab8c1
+ * @param leftHanded True if left-handed
+ */
+ public void setLeftHanded(boolean leftHanded);
-+ // Paper end
++ // Paper end - left-handed API
}