mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 01:44:27 +00:00
Large Cleanup to Code Imports and Formatting
This commit is contained in:
1 parent
31aac0d6b3
commit
a9b602713c
155 files changed
+4089
-2194
No files matched your search
@@ -274,10 +274,9 @@ public class Action implements IAction {
|
||||
// return this;
|
||||
// }
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////
|
||||
/// ////////////////////////////////////////////////
|
||||
/// ///////////////////////////////////////////////
|
||||
// Handling
|
||||
|
||||
@Override
|
||||
public IAction start() {
|
||||
manager.start();
|
||||
@@ -405,10 +404,10 @@ public class Action implements IAction {
|
||||
public String toString() {
|
||||
return String.format("%s [queue='%s', scheduled=%s, done=%s, paused=%s, updateEvery=%s, duration=%d/%d, count=%d/%d, threaded=%s]", getIdentifier(), getQueueName(), isScheduled, done, isPaused(), updateEveryXTick, duration, maxDuration, count, maxCount, isThreaded);
|
||||
}
|
||||
///////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////
|
||||
// Thread
|
||||
|
||||
/// ////////////////////////////////////////////////
|
||||
/// ///////////////////////////////////////////////
|
||||
// Thread
|
||||
@Override
|
||||
public IAction threadify() {
|
||||
if (!isThreaded) {
|
||||
@@ -469,10 +468,9 @@ public class Action implements IAction {
|
||||
return startAfterTicks > 0;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////
|
||||
/// ////////////////////////////////////////////////
|
||||
/// ////////////////////////////////////////////////
|
||||
// Sequential
|
||||
|
||||
@Override
|
||||
public IAction getNext() {
|
||||
if (queue == null)
|
||||
@@ -606,10 +604,9 @@ public class Action implements IAction {
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////
|
||||
/// ////////////////////////////////////////////////
|
||||
/// ////////////////////////////////////////////////
|
||||
// Parallels
|
||||
|
||||
@Override
|
||||
public IAction parallel(IAction act) {
|
||||
if (unscheduledList != null)
|
||||
@@ -658,10 +655,9 @@ public class Action implements IAction {
|
||||
return parallel(manager.create(name, maxDuration, delay, t));
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////
|
||||
/// ////////////////////////////////////////////////
|
||||
/// ////////////////////////////////////////////////
|
||||
// Conditionals
|
||||
|
||||
@Override
|
||||
public IConditionalAction conditional(IConditionalAction after) {
|
||||
if (unscheduledList != null)
|
||||
|
||||
Reference in new issue
Block a user