mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
protected constructor access
This commit is contained in:
1 parent
b0fabc888c
commit
18f520ed80
1 file changed
+4
-4
@@ -192,23 +192,23 @@ public class ScriptedActionManager implements IActionManager {
|
||||
this.task = task;
|
||||
}
|
||||
|
||||
public ActionBase(String name, int startAfterTicks, Consumer<IAction> task) {
|
||||
protected ActionBase(String name, int startAfterTicks, Consumer<IAction> task) {
|
||||
this.name = name;
|
||||
this.startAfterTicks = startAfterTicks;
|
||||
this.task = task;
|
||||
}
|
||||
|
||||
public ActionBase(String name, Consumer<IAction> task) {
|
||||
protected ActionBase(String name, Consumer<IAction> task) {
|
||||
this.name = name;
|
||||
this.task = task;
|
||||
}
|
||||
|
||||
public ActionBase(int startAfterTicks, Consumer<IAction> task) {
|
||||
protected ActionBase(int startAfterTicks, Consumer<IAction> task) {
|
||||
this(task);
|
||||
this.startAfterTicks = startAfterTicks;
|
||||
}
|
||||
|
||||
public ActionBase(Consumer<IAction> task) {
|
||||
protected ActionBase(Consumer<IAction> task) {
|
||||
this.name = task.toString();
|
||||
this.task = task;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user