Some fixes and utils
This commit is contained in:
parent
3b31532fea
commit
70d5a6d209
5 changed files with 216 additions and 6 deletions
|
@ -35,7 +35,10 @@ public class InfusionPedestal extends BlockPedestal {
|
|||
if (blockEntity instanceof InfusionPedestalEntity) {
|
||||
pedestal = (InfusionPedestalEntity) blockEntity;
|
||||
if (!pedestal.isEmpty() && pedestal.hasRitual()) {
|
||||
if (pedestal.getRitual().checkRecipe()) {
|
||||
if (pedestal.getRitual().hasRecipe()) {
|
||||
pedestal.getRitual().stop();
|
||||
return ActionResult.SUCCESS;
|
||||
} else if (pedestal.getRitual().checkRecipe()) {
|
||||
return ActionResult.SUCCESS;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue