mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39: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
|
||||
* float var11 = MathHelper.wrapAngleTo180_float(this.entity.rotationYawHead - this.entity.renderYawOffset);
|
||||
|
||||
if (!this.entity.getNavigator().noPath())
|
||||
{
|
||||
if (var11 < -75.0F)
|
||||
{
|
||||
this.entity.rotationYawHead = this.entity.renderYawOffset - 75.0F;
|
||||
}
|
||||
if (!this.entity.getNavigator().noPath())
|
||||
{
|
||||
if (var11 < -75.0F)
|
||||
{
|
||||
this.entity.rotationYawHead = this.entity.renderYawOffset - 75.0F;
|
||||
}
|
||||
|
||||
if (var11 > 75.0F)
|
||||
{
|
||||
this.entity.rotationYawHead = this.entity.renderYawOffset + 75.0F;
|
||||
}
|
||||
}
|
||||
if (var11 > 75.0F)
|
||||
{
|
||||
this.entity.rotationYawHead = this.entity.renderYawOffset + 75.0F;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
//$this->entity->lastHeadYaw = $this->entity->headYaw;
|
||||
|
|
|
|||
|
|
@ -43,9 +43,9 @@ class Painting extends Entity{
|
|||
|
||||
public $counter = 0;
|
||||
public function update($now){
|
||||
if($this->closed === true){
|
||||
return false;
|
||||
}
|
||||
if($this->closed === true){
|
||||
return false;
|
||||
}
|
||||
|
||||
if(++$this->counter >= 100){
|
||||
$this->counter = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue