mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Block: rename isSameType() to hasSameTypeId()
this should remove any ambiguity about its behaviour.
This commit is contained in:
@ -47,7 +47,7 @@ abstract class Stem extends Crops{
|
||||
}else{
|
||||
$grow = $this->getPlant();
|
||||
foreach(Facing::HORIZONTAL as $side){
|
||||
if($this->getSide($side)->isSameType($grow)){
|
||||
if($this->getSide($side)->hasSameTypeId($grow)){
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user