Tool can fully repair after moving it in inventory #10

Open
opened 2022-10-12 05:03:48 +02:00 by rudzik8 · 2 comments
Owner

Just caught that in my survival world. The thing is that durability does appear as "100%" after moving it from hotbar to inventory and vice versa and then rejoining the world.

Steps to reproduce:

  1. Use the tool until it's on 0% (Stone Spear for example)
  2. Move it from hotbar to inventory (it should look like 100% now)
  3. Move it back to your hotbar
  4. Close your world (or close Voxelands)
  5. Join your world (or start Voxelands) again
Just caught that in my survival world. The thing is that durability does appear as "100%" after moving it from hotbar to inventory and vice versa and then rejoining the world. **Steps to reproduce:** 1. Use the tool until it's on 0% (Stone Spear for example) 2. Move it from hotbar to inventory (it should look like 100% now) 3. Move it back to your hotbar 4. Close your world (or close Voxelands) 5. Join your world (or start Voxelands) again
rudzik8 added the
bug
label 2022-10-12 05:03:48 +02:00
rudzik8 added
glitch
and removed
bug
labels 2022-10-12 05:22:09 +02:00
Author
Owner

Removing the glitch label as it really seems to change the durability of a tool. :/

Removing the glitch label as it really seems to change the durability of a tool. :/
rudzik8 changed title from Tool's durability can glitch out when moving it in inventory to Tool can fully repair after moving it in inventory 2022-10-13 15:01:40 +02:00
rudzik8 added
bug
and removed
glitch
labels 2022-10-13 15:02:18 +02:00
rudzik8 added this to the 2404.00 milestone 2022-10-13 15:02:24 +02:00
Author
Owner

Some more observation: this works only if the tool is on 0% durability (like, it should break immediately on next use!), and now I can't reproduce that it is glitch and not a bug (tool looks like 100%, but breaks on next use). I guess that's how it can be reproduced:

  1. Use the tool until it's on 0%
  2. Move it from hotbar to inventory (it should look like 100% now)
  3. Move it back to your hotbar
  4. Close your world (or close Voxelands)
  5. Join your world (or start Voxelands) again

TODO: follow this sequence to see if it's true and add to the issue message if it is

UPD: yep, that's the sequence. It works

Some more observation: this works only if the tool is on 0% durability (like, it should break immediately on next use!), and now I can't reproduce that it is glitch and not a bug (tool looks like 100%, but breaks on next use). I guess that's how it can be reproduced: 1. Use the tool until it's on 0% 2. Move it from hotbar to inventory (it should look like 100% now) 3. Move it back to your hotbar 4. Close your world (or close Voxelands) 5. Join your world (or start Voxelands) again **TODO:** follow this sequence to see if it's true and add to the issue message if it is **UPD:** yep, that's the sequence. It works
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: oerkki/voxelands#10
No description provided.