[ci skip] rebuild patches

This commit is contained in:
Jake Potrebic
2023-03-23 14:57:03 -07:00
parent 39255145b6
commit 0adc18baf8
60 changed files with 1113 additions and 1197 deletions

View File

@@ -32,8 +32,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
this.damager = damager;
+ // Paper start - add critical damage API
+ this.critical = critical;
}
+ }
+
+ /**
+ * Shows this damage instance was critical.
+ * The damage instance can be critical if the attacking player met the respective conditions.
@@ -44,9 +44,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ */
+ public boolean isCritical() {
+ return this.critical;
+ }
}
+ // Paper end
+
/**
* Returns the entity that damaged the defender.
*