Add API for checking if a zombie has the option to break doors (#6855)
This commit is contained in:
@@ -21,6 +21,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ @Override
|
||||
+ public void setCanBreakDoors(boolean canBreakDoors) {
|
||||
+ getHandle().setCanBreakDoors(canBreakDoors);
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public boolean supportsBreakingDoors() {
|
||||
+ return getHandle().supportsBreakDoorGoal();
|
||||
+ }
|
||||
// Paper end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user