chore/audit-s02-s05-state-cleanup #13

Merged
NotEvil merged 2 commits from chore/audit-s02-s05-state-cleanup into develop 2026-04-15 14:48:42 +00:00
2 changed files with 2 additions and 6 deletions
Showing only changes of commit 7444853840 - Show all commits

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