Drop lombok, it has been causing too much confusion
Basically the result of the Delombok function, except we use IntelliJ's equals, hashCode and toString and don't re-organize imports (cause that breaks the preprocessor) and a bunch of manual cleanup was necessary (and half the classes weren't even converted).
This commit is contained in:
@@ -21,7 +21,6 @@ import com.replaymod.replaystudio.replay.ReplayFile;
|
||||
import com.replaymod.simplepathing.SPTimeline.SPPath;
|
||||
import com.replaymod.simplepathing.gui.GuiPathing;
|
||||
import com.replaymod.simplepathing.preview.PathPreview;
|
||||
import lombok.Getter;
|
||||
import net.minecraft.util.crash.CrashReport;
|
||||
import net.minecraft.util.crash.CrashException;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
@@ -149,7 +148,6 @@ public class ReplayModSimplePathing extends EventRegistrations implements Module
|
||||
private SPTimeline currentTimeline;
|
||||
|
||||
private SPPath selectedPath;
|
||||
@Getter
|
||||
private long selectedTime;
|
||||
|
||||
public SPPath getSelectedPath() {
|
||||
@@ -160,6 +158,10 @@ public class ReplayModSimplePathing extends EventRegistrations implements Module
|
||||
return selectedPath;
|
||||
}
|
||||
|
||||
public long getSelectedTime() {
|
||||
return selectedTime;
|
||||
}
|
||||
|
||||
public boolean isSelected(Keyframe keyframe) {
|
||||
return getSelectedPath() != null && currentTimeline.getKeyframe(selectedPath, selectedTime) == keyframe;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user