1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-02-10 16:10:05 +00:00
Jonathan Coates 286f969f94
Remove computers from both lookups when they timeout
In 5d8c46c7e61117ede5d6315efc81a4ae498f34ba, we switched to using UUIDs
for looking up computers (rather than an integer ID). However, for
compatibility in some of the command code, we need to maintain the old
integer lookup map.

Most of the code was updated to handle this, *except* the code to remove
a computer from the registry. This meant that we'd fail to remove a
computer from the UUID lookup map, so computers ended up in a phantom
state where they were destroyed, but still accessible.

This is not an issue on 1.20.4, because the legacy int lookup map was
removed.

Fixes #1760
2024-03-23 10:59:47 +00:00
..