Add support for Cross Controller Planets (#562)

* Add support for Cross Controller Planets

* Clean
This commit is contained in:
Dagg 2022-11-17 20:54:46 -08:00 committed by GitHub
parent 74c70115b8
commit ca317d3afc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 47 additions and 2 deletions

View file

@ -109,7 +109,7 @@ public class UserController : ControllerBase
if (update.MehHash != null) user.MehHash = update.MehHash;
if (update.BooHash != null) user.BooHash = update.BooHash;
if (update.Slots != null)
{
foreach (UserUpdateSlot? updateSlot in update.Slots)
@ -131,6 +131,8 @@ public class UserController : ControllerBase
}
}
if (update.PlanetHashLBP2CC != null) user.PlanetHashLBP2CC = update.PlanetHashLBP2CC;
if (update.PlanetHash != null)
{
switch (token.GameVersion)