forked from Clones/Controlify
pre1 and less sodium stuff cuz i got a pr merged
This commit is contained in:
@ -14,7 +14,7 @@ import java.util.Objects;
|
||||
import java.util.UUID;
|
||||
|
||||
public abstract class AbstractController<S extends ControllerState, C extends ControllerConfig> implements Controller<S, C> {
|
||||
private final int joystickId;
|
||||
protected final int joystickId;
|
||||
protected String name;
|
||||
private final String uid;
|
||||
private final String guid;
|
||||
@ -47,11 +47,6 @@ public abstract class AbstractController<S extends ControllerState, C extends Co
|
||||
this.bindings = new ControllerBindings<>(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int joystickId() {
|
||||
return this.joystickId;
|
||||
}
|
||||
|
||||
public String name() {
|
||||
if (config().customName != null)
|
||||
return config().customName;
|
||||
|
Reference in New Issue
Block a user