Update ModDraggable.java

This commit is contained in:
kirillsaint 2023-09-30 16:11:04 +06:00
parent ef97091bb1
commit ba6418e435

View File

@ -32,10 +32,14 @@ public abstract class ModDraggable extends Mod implements IRenderer {
private HUDConfigScreen.CornerScalingType cornerScalingType;
public ModDraggable(String name, ModCategory category, String icon) {
super(name, category, icon);
public ModDraggable(String name, ModCategory category, String icon, boolean defaultEnabled) {
super(name, category, icon, defaultEnabled);
this.pos = ScreenPosition.fromRelativePosition(0, 0);
}
public ModDraggable(String name, ModCategory category, String icon) {
this(name, category, icon, false);
}
@Override
public void setup() {