fix(S-02): remove unused host field from PlayerMovement (review)
This commit is contained in:
@@ -191,7 +191,7 @@ public class PlayerBindState implements IRestrainable, IPlayerBindStateHost {
|
||||
this.captivity = new PlayerCaptivity(this);
|
||||
|
||||
// Initialize movement component
|
||||
this.movement = new PlayerMovement(this);
|
||||
this.movement = new PlayerMovement();
|
||||
|
||||
this.captor = null;
|
||||
this.captorManager = new PlayerCaptorManager(player);
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package com.tiedup.remake.state.components;
|
||||
|
||||
import com.tiedup.remake.state.hosts.IPlayerBindStateHost;
|
||||
import com.tiedup.remake.v2.bondage.movement.MovementStyle;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -13,8 +12,6 @@ import org.jetbrains.annotations.Nullable;
|
||||
*/
|
||||
public class PlayerMovement {
|
||||
|
||||
private final IPlayerBindStateHost host;
|
||||
|
||||
// --- Resolved style state ---
|
||||
@Nullable
|
||||
private MovementStyle activeMovementStyle;
|
||||
@@ -35,8 +32,7 @@ public class PlayerMovement {
|
||||
private double lastY;
|
||||
private double lastZ;
|
||||
|
||||
public PlayerMovement(IPlayerBindStateHost host) {
|
||||
this.host = host;
|
||||
public PlayerMovement() {
|
||||
}
|
||||
|
||||
// --- Resolved style ---
|
||||
|
||||
Reference in New Issue
Block a user