Bump API version to 1.6.1

This commit is contained in:
Shoghi Cervantes 2014-10-28 00:55:07 +01:00
parent 119b429ab8
commit 4299ebebcc
2 changed files with 8 additions and 0 deletions

View File

@ -49,6 +49,10 @@ class Lava extends Liquid{
if(!$ev->isCancelled()){
$entity->setOnFire($ev->getDuration());
}
if($entity instanceof Player){
$entity->onGround = true;
}
}
public function place(Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null){

View File

@ -36,6 +36,10 @@ class Water extends Liquid{
if($entity->fireTicks > 0){
$entity->extinguish();
}
if($entity instanceof Player){
$entity->onGround = true;
}
}
public function place(Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null){