updated todos

master
Soper Aylamo 2021-05-15 05:45:12 -04:00
parent 3038df3197
commit 321a621067
Signed by: Soper
GPG Key ID: A27AC885ACC3BEAE
2 changed files with 5 additions and 3 deletions

View File

@ -57,7 +57,9 @@ public class MortarInteract implements Listener {
&& event.getEntity().getCustomName() != null
&& event.getEntity().getCustomName().equals("shell")){
if(event.getHitBlock() != null){
//TODO: This needs to have another accompanying explosion that does more player damage than physical damage.
/* TODO: This needs to have another accompanying explosion that does more player damage than physical damage.
* Maybe make this a function of arty.item.Shell?
*/
event.getHitBlock().getWorld().createExplosion(
event.getHitBlock()
.getLocation()

View File

@ -43,7 +43,7 @@ public class Shell {
}
}
/**
/** TODO: Finish documentation for this
* Creates a shell with the specified statistics.
* @param explosionMultiplier Explosion multiplier. 1 represents default 3 (for blockDamage)
* @param penetration
@ -59,7 +59,7 @@ public class Shell {
this.failChance = failChance;
}
/** TODO: Finish documentation for this
/**
* Checks if the item stack is a shell
* @param item ItemStack to check against
* @return True if item is an arrow with a gray name "Shell"