SuperFactoryManager icon indicating copy to clipboard operation
SuperFactoryManager copied to clipboard

Bug: Label Gun does not apply the label correctly

Open RotzRohr opened this issue 1 year ago • 2 comments
trafficstars

Version 1.20.4 NeoForge https://github.com/user-attachments/assets/2f2ccd33-16e7-4f30-afcb-622c3bcfe92c

ThisIsARealyLongNameForAInputButINeedItToShowTheBug ^ Will be shortend by the LabelGun to

ThisIsARealyLongNameForAInputBut

NAME "A simple program"

EVERY 20 TICKS DO
    -- on their own, input statements do nothing
    -- there is no item buffer
    INPUT FROM ThisIsARealyLongNameForAInputButINeedItToShowTheBug

    -- all the magic happens here
    OUTPUT TO b
END

RotzRohr avatar Jul 13 '24 18:07 RotzRohr

The max length is currently 80, your example is 52 so it should work.

https://github.com/TeamDman/SuperFactoryManager/blob/d5077dbf704c047bb507792be7ba585349c2fee6/src/main/java/ca/teamdman/sfm/common/net/ServerboundLabelGunUpdatePacket.java#L14

very strange, will investigate

TeamDman avatar Jul 13 '24 18:07 TeamDman

looks like it happens when clicking the button in the gui but not when using scroll wheel

TeamDman avatar Mar 19 '25 20:03 TeamDman

Should be fixed in latest release (4.22.0), please let me know if something wrong still happens!

TeamDman avatar Jun 22 '25 06:06 TeamDman