Fix Forge player data corrupted on respawn (#3557, #3584, #3596, #3601)

This commit is contained in:
bloodmc 2023-03-13 04:58:39 -04:00 committed by GitHub
parent 536c9183fe
commit 62f2fc9714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,6 +68,8 @@ public class UserCapabilityListener {
current.initialise(previous);
current.getQueryOptionsCache().invalidate();
} catch (IllegalStateException e) {
// continue on if we cannot copy original data
} finally {
previousPlayer.invalidateCaps();
}