Skip to content

Commit 5a19a30

Browse files
committed
add debug for spawned/despawned event
1 parent 6fd15fa commit 5a19a30

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/org/mcmonkey/sentinel/SentinelTrait.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1845,6 +1845,7 @@ public void run() {
18451845
*/
18461846
@Override
18471847
public void onSpawn() {
1848+
debug("Spawned.");
18481849
isBlocking = false;
18491850
lastEntityUUID = getLivingEntity().getUniqueId();
18501851
stats_timesSpawned++;
@@ -2094,6 +2095,7 @@ public void run() {
20942095
*/
20952096
@Override
20962097
public void onDespawn() {
2098+
debug("Despawned.");
20972099
targetingHelper.currentTargets.clear();
20982100
targetingHelper.currentAvoids.clear();
20992101
SentinelPlugin.instance.currentSentinelNPCs.remove(this);

0 commit comments

Comments
 (0)