Skip to content

Commit

Permalink
Fixed NPE while updating blast position
Browse files Browse the repository at this point in the history
This is why you do not push rewrites to main... my bad
  • Loading branch information
DarkGuardsman committed Jan 12, 2019
1 parent 157e745 commit 2f53aa7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -193,7 +193,7 @@ public Blast setPosition(double posX, double posY, double posZ)
this.x = posX;
this.y = posY;
this.z = posZ;
location = new Location(world(), posX, posY, posZ);
location = new Location(world, posX, posY, posZ);
//TODO super contains a vec3 also called position, we need to set that value instead of overriding the return
return this;
}
Expand Down

0 comments on commit 2f53aa7

Please sign in to comment.