mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-27 19:09:09 +00:00
fix an issue
This commit is contained in:
@@ -989,7 +989,7 @@ public abstract class AbstractRequirementManager<T> implements RequirementManage
|
||||
Optional<CustomCropsChunk> optionalChunk = customCropsWorld.getLoadedChunk(tempPos3.toChunkPos());
|
||||
if (optionalChunk.isPresent()) {
|
||||
CustomCropsChunk chunk = optionalChunk.get();
|
||||
Optional<CustomCropsBlockState> optionalState = chunk.getBlockState(pos3);
|
||||
Optional<CustomCropsBlockState> optionalState = chunk.getBlockState(tempPos3);
|
||||
if (optionalState.isPresent() && optionalState.get().type() instanceof ScarecrowBlock) {
|
||||
if (advanced) ActionManager.trigger(context, actions);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user