Shrink.

Shrink.

35M Downloads

[Bug]: UI of Personal Shrinking Device not showing power level in SMP

lafflam opened this issue ยท 1 comments

commented

Describe the bug

UI of Personal Shrinking Device not showing power level in SMP

Steps to reproduce

  1. While playing on a server, charge or partially charge the personal shrinking device.
  2. Use (right-click) the personal charging device to open its UI
  3. Observe the energy storage bar says 0 RF and 0 RF (NaN%) even though the charge indicator on my tool bar shows that the device has power.

Expected behaviour

Expected behavior: Opening the UI of the shrinking device should graphically display the current charge level in the UI, and hovering over the vertical power indicator should display the correct charge capacity and current stored RF.

Screenshots

Image

Version

2.0.0.44

Minecraft Version

1.21.1

ModLoader Version

NeoForge

Additional Information

I discovered this bug while playing the ATM10, but before leaving a bug report on their channel, I wanted to see if the bug was in Shrink by itself or if it was a cross-mod interaction. Turns out that the bug appears to be in Shrink by itself. To confirm this, I created a new custom modpack using the ATLauncher. The pack is only running Minecraft 1.21.1, NeoForge 21.1.115, Shrink 2.0.0.44 and Charging Gadgets 1.14.1 (so I could charge the shrinking device).

In single player, everything works as expected. When I charge the shrinking device, it shows the charge level both while hovering over it in my inventory and when opening the shrinking device's UI.

However, in multiplayer the charge level does not display correctly in the UI. Instead it says 0 RF and 0 RF (NaN%).
However, charge level displays fine when hovering over the shrinking device down in my inventory. So this seems like only a UI bug.

P.S.
By the way, I noticed there are a few bug reports that say the shrinking device does not work in multiplayer, however I have never experienced this problem. In both single player and multiplayer, the shrinking effect works flawlessly...right-click to open the UI and set the shrink level, then shift-right-click to actually shrink. (This also works correctly in ATM10 where I play on a server). Not sure what I am doing different. Hope this helps. shrug.

commented

Should be fixed in 1.21-2.0.1.47, Make sure to upload PolyLib