bug fix
This commit is contained in:
parent
f210865cd4
commit
7e2c3dcf1e
4 changed files with 8 additions and 5 deletions
|
|
@ -73,7 +73,7 @@ public abstract class Entity {
|
|||
* @param l The location of the entity
|
||||
*/
|
||||
public void setLocation(Vector2f l) {
|
||||
location = new Vector3f(l.getX(),l.getY(),getLocation().getZ());
|
||||
location = new Vector3f(l.getX(),l.getY(), location.getZ());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue