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