mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
replaced 4 spaces with tabs in some files
This commit is contained in:
parent
952af19a5c
commit
9d37312d63
2 changed files with 14 additions and 14 deletions
|
|
@ -168,18 +168,18 @@ class MobController
|
||||||
/* Some stuff for pathfinder - nc doesnt have it now
|
/* Some stuff for pathfinder - nc doesnt have it now
|
||||||
* float var11 = MathHelper.wrapAngleTo180_float(this.entity.rotationYawHead - this.entity.renderYawOffset);
|
* float var11 = MathHelper.wrapAngleTo180_float(this.entity.rotationYawHead - this.entity.renderYawOffset);
|
||||||
|
|
||||||
if (!this.entity.getNavigator().noPath())
|
if (!this.entity.getNavigator().noPath())
|
||||||
{
|
{
|
||||||
if (var11 < -75.0F)
|
if (var11 < -75.0F)
|
||||||
{
|
{
|
||||||
this.entity.rotationYawHead = this.entity.renderYawOffset - 75.0F;
|
this.entity.rotationYawHead = this.entity.renderYawOffset - 75.0F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (var11 > 75.0F)
|
if (var11 > 75.0F)
|
||||||
{
|
{
|
||||||
this.entity.rotationYawHead = this.entity.renderYawOffset + 75.0F;
|
this.entity.rotationYawHead = this.entity.renderYawOffset + 75.0F;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//$this->entity->lastHeadYaw = $this->entity->headYaw;
|
//$this->entity->lastHeadYaw = $this->entity->headYaw;
|
||||||
|
|
|
||||||
|
|
@ -43,9 +43,9 @@ class Painting extends Entity{
|
||||||
|
|
||||||
public $counter = 0;
|
public $counter = 0;
|
||||||
public function update($now){
|
public function update($now){
|
||||||
if($this->closed === true){
|
if($this->closed === true){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(++$this->counter >= 100){
|
if(++$this->counter >= 100){
|
||||||
$this->counter = 0;
|
$this->counter = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue