1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Furnace Fast Smelting

Discussion in 'Requests' started by PotteryTNT, Jan 17, 2020.

  1. PotteryTNT

    PotteryTNT Member

    Joined:
    Jul 21, 2017
    Messages:
    41
    Likes Received:
    0
    Category: UHC

    Spigot/Skript Version: PaperSpigot 1.8.8-R0.1-Snapshot, Skript: 2.2-dev36

    What I want:
    Okay so the skript is meant to just speed up smelting to the point it is basically instant. The whole skript seems good but when reloaded a error comes up saying "Can't compare a text with an integer (FastSmelt.sk, line 13: if tag "CookTime" of nbt of event-block is 0:'). When testing this out with the error, it just eats up the coal very fast without actually smelting anything for the end product.

    I use Skript 2.2-dev36, SkQuery, TuSKe, WildSkript, skRayFall, Sk-NBeeT & SharpSK. (I cannot use SkStuff otherwise it would make every skript not load and not work.)

    Link: https://pastebin.com/P2VExSMj

    When I'd like it by: By next week would be cool.
     
  2. AsuDev

    VIP

    Joined:
    Jan 27, 2017
    Messages:
    243
    Likes Received:
    22
    The reason you get that error is because the tag "Cooktime" is a string and not an integer. You can try parsing it as an integer if you want.
     

Share This Page

Loading...