Added debug classes

This commit is contained in:
M66B
2024-05-13 17:29:36 +02:00
parent 5bc84a0482
commit a313268b1c
6 changed files with 16 additions and 12 deletions

View File

@@ -203,7 +203,7 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
LifecycleObserver watcher = new LifecycleObserver() {
@OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
public void onDestroy() {
EntityLog.log(context, EntityLog.Type.Debug, "Owner gone task=" + name);
EntityLog.log(context, EntityLog.Type.Debug1, "Owner gone task=" + name);
destroyed = true;
onDestroyed(args);
owner.getLifecycle().removeObserver(this);