Vine: fix bug when reading state multiple times

This commit is contained in:
Dylan K. Taylor 2019-05-12 15:03:44 +01:00
parent c99846e069
commit 41d754de5a

View File

@ -68,6 +68,8 @@ class Vine extends Flowable{
private function setFaceFromMeta(int $meta, int $flag, int $face) : void{
if(($meta & $flag) !== 0){
$this->faces[$face] = true;
}else{
unset($this->faces[$face]);
}
}