LogicDisable (#6191)
* LogicDisable * I have read CONTRIBUTING.md I forgot one space Co-authored-by: Lele567 <48808663+Lele567@users.noreply.github.com>
This commit is contained in:
@@ -14,6 +14,10 @@ public class ConsumeModule extends BlockModule{
|
||||
}
|
||||
|
||||
public BlockStatus status(){
|
||||
if(entity.enabledControlTime > 0 && !entity.enabled){
|
||||
return BlockStatus.logicDisable;
|
||||
}
|
||||
|
||||
if(!entity.shouldConsume()){
|
||||
return BlockStatus.noOutput;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user