tridents can now be damaged

This commit is contained in:
Aubri Seebauer committed 2023-04-29 15:13:27 -04:00
1 parent 879145b433
commit 431304d065
2 files changed
+8 -2

No files matched your search

@@ -57,6 +57,12 @@ public class Helper
damageable.setDamage(249);
}
}
else if (is.getType() == Material.TRIDENT) {
damageable.setDamage(damageable.getDamage() + 62);
if (damageable.getDamage() > 200) {
damageable.setDamage(249);
}
}
meta = (ItemMeta)damageable;
is.setItemMeta(meta);
}
@@ -130,8 +130,8 @@ public class War {
* 0 - None
* 1 - Side 1
* 2 - Side 2
* @param string
* @return
* @param string town
* @return result
*/
public int getSide(String string) {
for (String str : surrenderedTowns) {