Added ServerCommandEvent::getSender()

This commit is contained in:
Shoghi Cervantes
2014-06-24 11:25:51 +02:00
parent a4593d4668
commit c775c3905d
2 changed files with 8 additions and 1 deletions

View File

@ -215,7 +215,7 @@ abstract class BaseChunk implements Chunk{
$column = $this->sections[$Y]->getBlockIdColumn($x, $z);
for($y = 15; $y >= 0; --$y){
if($column{$y} !== "\x00"){
return $y + $Y << 4;
return $y + ($Y << 4);
}
}
}