Spectrum

Spectrum

2M Downloads

[BUG] Radiance Staff doesn't have a max use time set, making its Floodlight mode not usable if Lodestone is installed

f-raZ0R opened this issue · 0 comments

commented

Describe the bug
Due to RadianceStaffItem.java never actually defining a max use time, Lodestone's mixins into item use time see the staff's use time as always being zero, thus preventing it from ever working. This might affect other items too, but from brief testing, it doesn't affect pipe bombs, or glass crest items, and I haven't found another item this would apply to yet. Would still be good to double check though.

To Reproduce
With the Lodestone library also installed, hold right click with a radiance staff (also with yellow ink or shimmerstone, to be able to use it, if in survival). Note how it doesn't actually do anything.

Expected behavior
Holding right click with a radiance staff would floodfill, and create many lights.

Minecraft version
1.20.1

Mod version
1.7.15, but also affects the alpha build.

Extra Information
Lodestone's mixin that is checking for the radiance staff's non-existent use time (which gets defaulted to 0, making lodestone cancel the item's use) https://github.com/LodestarMC/Lodestone/blob/1.20.1-fabric/src/main/java/team/lodestar/lodestone/mixin/common/LivingEntityMixin.java

Extra Request
If this is fixed on spectrum's side, please cherrypick this and release a 1.7.16 I don't want to wait several months for 1.8 to come out just to be able to use my radiance staff on this server. The floodlight mode is soo nice and I just want to use it already 🥺