Minor change to debug log notes

This commit is contained in:
Stephen Seo 2018-10-27 16:35:29 +09:00
parent 1f4d107870
commit 044ee7d860

View file

@ -936,6 +936,7 @@ public class Battle
next.yaw = yawDirection;
next.pitch = pitchDirection;
}
debugLog += " adding task...";
next.entity.getServer().addScheduledTask(() -> {
// have player look at attack target
((EntityPlayerMP)nextEntity).connection.setPlayerLocation(nextEntity.posX, nextEntity.posY, nextEntity.posZ, yawDirection, pitchDirection);
@ -957,6 +958,7 @@ public class Battle
}
}
});
debugLog += "...task added";
}
else
{