Fixed EntityMoveEvent not being cancelled correctly on players

This commit is contained in:
Shoghi Cervantes
2014-09-10 20:06:30 +02:00
parent 60011a5ecf
commit fba12c6ddf
3 changed files with 8 additions and 2 deletions

View File

@@ -913,6 +913,7 @@ class Level implements ChunkManager, Metadatable{
}
$this->changedBlocks[$index][$Y][] = clone $block;
}
if($update === true){
$this->updateAround($pos, self::BLOCK_UPDATE_NORMAL);
$block->onUpdate(self::BLOCK_UPDATE_NORMAL);