1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-02 10:52:37 +02:00

Fix Forge user data sometimes missing after switching worlds (#3447)

This commit is contained in:
IzzelAliz
2022-08-04 03:46:22 +08:00
committed by GitHub
parent 106455a311
commit 8ebdbdbf0b

View File

@@ -58,10 +58,6 @@ public class UserCapabilityListener {
@SubscribeEvent
public void onPlayerClone(PlayerEvent.Clone event) {
if (!event.isWasDeath()) {
return;
}
Player previousPlayer = event.getOriginal();
Player currentPlayer = event.getPlayer();