Jump to content

not compatible with Quick Smelt

Not a Bug 1.3.0 1.3.0

Her_Toxic_Man

Posted

Hi, this is a great plugin, really well done! Could you please make it compatible with the Quick Smelt plugin? That would be fantastic and done quickly. The oven switches off, but Quick Smelt keeps it running even though the oven is off.

tacman1981

Posted

Like I suspected, Quick Smelt uses a repeating timer to keep things burning. It doesnt check if the oven is off and continues with the InvokeRepeating which keeps burning things in the furnaces. Quick Smelt must add a proper guard that stops it from cooking while turned off 😞

tacman1981

Posted

There is a possible fix for quick smelt so it doesn't continue to repeat the cook timer. inside Cook in quick smelt, you could add this guard to prevent it looping while turned off.

if (Furnace == null || !Furnace.IsOn())
{
    StopCooking();
    return;
}

This should prevent the timer from continuing after my plugin turns the furnace off.

tacman1981

Posted

Changed Status from Pending to Not a Bug

Changed Fixed In to 1.3.0

tacman1981

Posted

inside the quick smelt plugin itself. look for "public void Cook()" and add the piece of code just after the { under the method name. this will force it to check if the furnace is off, and deactivate the repeating timer.

2.3m

Downloads

Total number of downloads.

10.6k

Customers

Total customers served.

153k

Files Sold

Total number of files sold.

3.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.