mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Merge branch 'master' into pr
This commit is contained in:
commit
b003448ac5
16 changed files with 427 additions and 262 deletions
|
|
@ -43,10 +43,10 @@ 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;
|
||||
if(!$this->survives() && !$this->dead){ //maybe dont check entity collision?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue