src/main/java/noahnok/dbdl/files/game/player/states/PlayerStateManager.java
PlayerStateManager
has 30 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class PlayerStateManager {
private final DeadByDaylight main;
public PlayerStateManager(DeadByDaylight main) {
- Create a ticketCreate a ticket
This block of commented-out lines of code should be removed. Open
Open
// switch (survivor.getPlayerState().getHookedStage()) {
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Programmers should not comment out code as it bloats programs and reduces readability.
Unused code should be deleted and can be retrieved from source control history if required.