diff --git a/src/main/java/me/profelements/dynatech/items/electric/machines/Orechid.java b/src/main/java/me/profelements/dynatech/items/electric/machines/Orechid.java index 072a7fd7..e3c4e9c9 100644 --- a/src/main/java/me/profelements/dynatech/items/electric/machines/Orechid.java +++ b/src/main/java/me/profelements/dynatech/items/electric/machines/Orechid.java @@ -56,6 +56,10 @@ protected boolean checkTickPreconditions(Block b) { @Override public void tick(Block b, SlimefunItem sfItem) { + if (DynaTech.getInstance() == null) { + return; + } + if (DynaTech.getInstance().getTickInterval() % 10 == 0) { for (BlockFace relative : BlockFace.values()) { if (getCharge(b.getLocation()) < getEnergyConsumption()) {