Rename setUsePriority to setPriority

This commit is contained in:
DaCool
2023-10-19 11:09:08 +00:00
committed by Sheepit Renderfarm
parent aa1da4b744
commit acc9f02f07
5 changed files with 7 additions and 10 deletions

View File

@@ -159,14 +159,13 @@ import lombok.Data;
* @param priority integer that will be clamped between 19 and -19,
* lowest to highest in terms of priority
*/
public void setUsePriority(int priority) {
public void setPriority(int priority) {
if (priority > 19)
priority = 19;
if (priority < -19)
else if (priority < -19)
priority = -19;
this.priority = priority;
}
/**