Fix Legacy Rating/Timing Handler
This commit is contained in:
@@ -118,10 +118,6 @@ final class NoteHitEvent extends CancellableEvent {
|
||||
* The attached healthIcon used distinction for icons amongst others
|
||||
*/
|
||||
public var healthIcon:HealthIcon;
|
||||
/**
|
||||
* Whether note hits are judged in the old way or not.
|
||||
*/
|
||||
public var legacyJudge(get, set):Bool;
|
||||
|
||||
/**
|
||||
* Prevents the default sing animation from being played.
|
||||
@@ -200,15 +196,4 @@ final class NoteHitEvent extends CancellableEvent {
|
||||
characters = [char];
|
||||
return char;
|
||||
}
|
||||
|
||||
private var _explicitLegacyJudge:Null<Bool> = null;
|
||||
private inline function get_legacyJudge():Bool {
|
||||
if (_explicitLegacyJudge != null)
|
||||
return _explicitLegacyJudge;
|
||||
return Flags.MOD_API_VERSION == 1;
|
||||
}
|
||||
private function set_legacyJudge(value:Bool):Bool {
|
||||
_explicitLegacyJudge = value;
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user