feat(JOML): migrate MovementDebugCommands
import org.terasology.logic.location.Location;
import org.terasology.logic.location.LocationComponent;
import org.terasology.logic.permission.PermissionManager;
-import org.terasology.math.JomlUtil;
import org.terasology.network.ClientComponent;
import org.terasology.physics.engine.PhysicsEngine;
import org.terasology.registry.In;
@@ -139,7 +138,7 @@ public String showMovement(@Sender EntityRef client) {
requiredPermission = PermissionManager.CHEAT_PERMISSION)
public String showPosition(@Sender EntityRef client) {
LocationComponent loc = client.getComponent(LocationComponent.class);
- return "Your Position: " + loc.getWorldPosition();
+ return "Your Position: " + loc.getWorldPosition(new Vector3f());
}
@Command(shortDescription = "Show your Height",
