fix(S-02): remove unused host field from PlayerMovement (review)

This commit is contained in:
NotEvil
2026-04-15 14:11:42 +02:00
parent 22d79a452b
commit 7444853840
2 changed files with 2 additions and 6 deletions

View File

@@ -191,7 +191,7 @@ public class PlayerBindState implements IRestrainable, IPlayerBindStateHost {
this.captivity = new PlayerCaptivity(this); this.captivity = new PlayerCaptivity(this);
// Initialize movement component // Initialize movement component
this.movement = new PlayerMovement(this); this.movement = new PlayerMovement();
this.captor = null; this.captor = null;
this.captorManager = new PlayerCaptorManager(player); this.captorManager = new PlayerCaptorManager(player);

View File

@@ -1,6 +1,5 @@
package com.tiedup.remake.state.components; package com.tiedup.remake.state.components;
import com.tiedup.remake.state.hosts.IPlayerBindStateHost;
import com.tiedup.remake.v2.bondage.movement.MovementStyle; import com.tiedup.remake.v2.bondage.movement.MovementStyle;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
@@ -13,8 +12,6 @@ import org.jetbrains.annotations.Nullable;
*/ */
public class PlayerMovement { public class PlayerMovement {
private final IPlayerBindStateHost host;
// --- Resolved style state --- // --- Resolved style state ---
@Nullable @Nullable
private MovementStyle activeMovementStyle; private MovementStyle activeMovementStyle;
@@ -35,8 +32,7 @@ public class PlayerMovement {
private double lastY; private double lastY;
private double lastZ; private double lastZ;
public PlayerMovement(IPlayerBindStateHost host) { public PlayerMovement() {
this.host = host;
} }
// --- Resolved style --- // --- Resolved style ---