mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-01 22:14:45 +00:00
tridents can now be damaged
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user