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

This commit is contained in:
bloodmc authored and GitHub committed 2023-03-13 08:58:39 +00:00
1 parent 536c9183fe
commit 62f2fc9714
1 file changed
+2
@@ -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();
}