chore: cleanup annotations in api adventure patch

This commit is contained in:
Riley Park 2023-03-23 09:49:24 -07:00
parent c4351787c6
commit 39255145b6
64 changed files with 1308 additions and 1246 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,8 +44,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ */
+ public boolean isCritical() {
+ return this.critical;
}
+ }
+ // Paper end
+
/**
* Returns the entity that damaged the defender.
*