diff --git a/resources/changelog/1.19.2-1.2.41.txt b/resources/changelog/1.19.2-1.2.41.txt new file mode 100644 index 0000000000..ebd4c3beac --- /dev/null +++ b/resources/changelog/1.19.2-1.2.41.txt @@ -0,0 +1,6 @@ +As always, don't forget to backup your world before updating! +Requires CyclopsCore version 1.17.0 or higher. + +Fixes: +* Don't invoke WorldHelpers.efficientTick client-side, Related to #961 + diff --git a/src/main/java/org/cyclops/evilcraft/blockentity/BlockEntitySanguinaryEnvironmentalAccumulator.java b/src/main/java/org/cyclops/evilcraft/blockentity/BlockEntitySanguinaryEnvironmentalAccumulator.java index 9444076421..4140a1c940 100644 --- a/src/main/java/org/cyclops/evilcraft/blockentity/BlockEntitySanguinaryEnvironmentalAccumulator.java +++ b/src/main/java/org/cyclops/evilcraft/blockentity/BlockEntitySanguinaryEnvironmentalAccumulator.java @@ -31,11 +31,7 @@ import org.apache.commons.lang3.tuple.Triple; import org.cyclops.cyclopscore.capability.item.ItemHandlerSlotMasked; import org.cyclops.cyclopscore.datastructure.SingleCache; -import org.cyclops.cyclopscore.helper.BlockEntityHelpers; -import org.cyclops.cyclopscore.helper.CraftingHelpers; -import org.cyclops.cyclopscore.helper.LocationHelpers; -import org.cyclops.cyclopscore.helper.MinecraftHelpers; -import org.cyclops.cyclopscore.helper.WorldHelpers; +import org.cyclops.cyclopscore.helper.*; import org.cyclops.cyclopscore.inventory.SimpleInventory; import org.cyclops.evilcraft.RegistryEntries; import org.cyclops.evilcraft.block.BlockSanguinaryEnvironmentalAccumulator; @@ -295,7 +291,7 @@ public Metadata getTileWorkingMetadata() { @Override public boolean canWork() { - if(!forceLoadTanks && invalidLocations != null && !WorldHelpers.efficientTick(level, TANK_CHECK_TICK_OFFSET, getBlockPos())) { + if(!forceLoadTanks && invalidLocations != null && (level.isClientSide() || !WorldHelpers.efficientTick(level, TANK_CHECK_TICK_OFFSET, getBlockPos()))) { return invalidLocations.isEmpty(); } forceLoadTanks = false;