Compiler issues v4
This commit is contained in:
parent
918ca965d9
commit
bb124f4021
29 changed files with 104 additions and 66 deletions
|
@ -5,7 +5,7 @@ Subject: [PATCH] Zombie API - breaking doors
|
|||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/entity/Zombie.java b/src/main/java/org/bukkit/entity/Zombie.java
|
||||
index c1a5b625ea602d751a8026d989882c60e80756c9..93de95f68af45dba6a1da350a46adc1d1d058899 100644
|
||||
index c1a5b625ea602d751a8026d989882c60e80756c9..0a7d4d3f776a72b345d746c583e4c32267929b54 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Zombie.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Zombie.java
|
||||
@@ -100,8 +100,10 @@ public interface Zombie extends Monster, Ageable {
|
||||
|
@ -21,7 +21,7 @@ index c1a5b625ea602d751a8026d989882c60e80756c9..93de95f68af45dba6a1da350a46adc1d
|
|||
* the entity is currently breaking a door.
|
||||
*
|
||||
* @param flag Whether this zombie can break doors
|
||||
@@ -162,5 +164,15 @@ public interface Zombie extends Monster, Ageable {
|
||||
@@ -162,5 +164,17 @@ public interface Zombie extends Monster, Ageable {
|
||||
* @param shouldBurnInDay True to burn in sunlight
|
||||
*/
|
||||
void setShouldBurnInDay(boolean shouldBurnInDay);
|
||||
|
@ -33,7 +33,9 @@ index c1a5b625ea602d751a8026d989882c60e80756c9..93de95f68af45dba6a1da350a46adc1d
|
|||
+ * no effect.
|
||||
+ *
|
||||
+ * @return true if entity supports breaking doors
|
||||
+ * @deprecated Since 1.21.2 all zombie types can break doors if instructed as MC-137053 was fixed.
|
||||
+ */
|
||||
+ @Deprecated(since = "1.21.2", forRemoval = true)
|
||||
+ boolean supportsBreakingDoors();
|
||||
// Paper end
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue