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);
// Initialize movement component
this.movement = new PlayerMovement(this);
this.movement = new PlayerMovement();
this.captor = null;
this.captorManager = new PlayerCaptorManager(player);

View File

@@ -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 ---