3
0

Return loop iterating over entites on overloaded server

This commit is contained in:
Prototik
2015-09-06 18:54:03 +07:00
parent 9d56192606
commit b2e14cb247
6 changed files with 178 additions and 9 deletions

View File

@ -321,8 +321,7 @@
- if (this.playerEntity.isPlayerSleeping())
+ /*if (this.playerEntity.isPlayerSleeping()) // KCauldron - moved up
{
- this.playerEntity.onUpdateEntity();
+ this.playerEntity.onUpdateEntity();
this.playerEntity.onUpdateEntity();
this.playerEntity.setPositionAndRotation(this.lastPosX, this.lastPosY, this.lastPosZ, this.playerEntity.rotationYaw, this.playerEntity.rotationPitch);
worldserver.updateEntity(this.playerEntity);
return;