mirror of
https://github.com/songoda/EpicFarming.git
synced 2025-02-21 15:01:25 +01:00
Merge branch 'development'
This commit is contained in:
commit
e7c7172601
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "EpicFarming"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "3.0.3"
|
||||
version: "3.0.4"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -178,7 +178,7 @@ public class ModuleAutoCollect extends Module {
|
||||
Block b2 = block.getWorld().getBlockAt(bx + fx, by + fy, bz + fz);
|
||||
CompatibleMaterial mat = CompatibleMaterial.getMaterial(b2.getType());
|
||||
|
||||
if (!mat.isCrop()) continue;
|
||||
if (mat == null || !mat.isCrop()) continue;
|
||||
|
||||
if (add) {
|
||||
farm.addCachedCrop(b2);
|
||||
|
Loading…
Reference in New Issue
Block a user