Rename setUsePriority to setPriority
This commit is contained in:
committed by
Sheepit Renderfarm
parent
aa1da4b744
commit
acc9f02f07
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user