Fixes entities not being saved and tile entities having an incorrect field, closes #1661

This commit is contained in:
Shoghi Cervantes
2014-10-15 12:15:17 +02:00
parent e3a9db5d8f
commit 69d132401e
4 changed files with 7 additions and 6 deletions

View File

@ -274,7 +274,7 @@ abstract class BaseFullChunk implements FullChunk{
if($level === null){
return true;
}
if($save === true){
if($save === true and $this->hasChanged){
$level->saveChunk($this->getX(), $this->getZ());
}
if($safe === true){