div by zero - smedit with dev/pre because it doesn't find pngs

    NeonSturm

    StormMaker
    Joined
    Dec 31, 2013
    Messages
    5,110
    Reaction score
    617
    • Wired for Logic
    • Thinking Positive
    • Legacy Citizen 5
    java.lang.ArithmeticException: / by zero
    at jo.sm.ui.BlockTypeColors.loadTextureMaps(BlockTypeColors.java:621)



    The code searches for t iii .png files in the old folder.

    Because it doesn't find files, it has no images to add to some array.

    The array (which is expected to have some items) has zero entries. 16*16*0 is still 0

    That causes smedit to crash.



    Is there already a fixed version which searchs the new folders too?