Fix constructor of AdvancedPosition not storing advanced data
This commit is contained in:
@@ -19,6 +19,10 @@ public class AdvancedPosition extends Position {
|
||||
|
||||
public AdvancedPosition(double x, double y, double z, double pitch, double yaw, double roll, Integer spectatedEntityID) {
|
||||
super(x, y, z);
|
||||
this.pitch = pitch;
|
||||
this.yaw = yaw;
|
||||
this.roll = roll;
|
||||
this.spectatedEntityID = spectatedEntityID;
|
||||
}
|
||||
|
||||
public AdvancedPosition(int entityID, boolean spectate) {
|
||||
|
||||
Reference in New Issue
Block a user