mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-20 13:30:27 -07:00
Removed obsolete "schedule" method causing undesirable death side effects
This commit is contained in:
parent
bcb493a94d
commit
0db90b60f1
1 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ public abstract class NodeTask {
|
||||||
* @return The pulse used for this task.
|
* @return The pulse used for this task.
|
||||||
*/
|
*/
|
||||||
public Pulse schedule(final Node node, final Node... n) {
|
public Pulse schedule(final Node node, final Node... n) {
|
||||||
GameWorld.getPulser().submit(pulse = new Pulse(ticks, node) {
|
pulse = new Pulse(ticks, node) {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void start() {
|
public void start() {
|
||||||
|
|
@ -102,7 +102,7 @@ public abstract class NodeTask {
|
||||||
public boolean removeFor(String s) {
|
public boolean removeFor(String s) {
|
||||||
return NodeTask.this.removeFor(s, node, n);
|
return NodeTask.this.removeFor(s, node, n);
|
||||||
}
|
}
|
||||||
});
|
};
|
||||||
return pulse;
|
return pulse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue