First Checkup
This commit is contained in:
@@ -200,9 +200,9 @@ public class LightningWeb extends Spell {
|
||||
if(ticksInUse % 2 == 0){
|
||||
EntityArc arc = new EntityArc(world);
|
||||
arc.setEndpointCoords(caster.posX, caster.posY + 1.2, caster.posZ,
|
||||
caster.posX + caster.getLookVec().xCoord * 8,
|
||||
caster.posY + caster.eyeHeight + caster.getLookVec().yCoord * 8,
|
||||
caster.posZ + caster.getLookVec().zCoord * 8);
|
||||
caster.posX + caster.getLookVec().x * 8,
|
||||
caster.posY + caster.eyeHeight + caster.getLookVec().y * 8,
|
||||
caster.posZ + caster.getLookVec().z * 8);
|
||||
arc.lifetime = 1;
|
||||
// arc.setOffset(entityplayer.getLookVec().zCoord * 0.5, entityplayer.getLookVec().xCoord * 0.5);
|
||||
world.spawnEntity(arc);
|
||||
|
||||
Reference in New Issue
Block a user