fix end transfer deleting capability data

This commit is contained in:
yrsegal@gmail.com 2022-04-08 19:10:18 -04:00
parent baac41e151
commit 9a360fd17d

View file

@ -69,7 +69,6 @@ public class HexCapabilities {
return; return;
} }
if (evt.isWasDeath()) {
var proto = evt.getOriginal(); var proto = evt.getOriginal();
// Copy caps from this to new player // Copy caps from this to new player
proto.reviveCaps(); proto.reviveCaps();
@ -91,7 +90,6 @@ public class HexCapabilities {
}); });
proto.invalidateCaps(); proto.invalidateCaps();
} }
}
@SubscribeEvent @SubscribeEvent
public static void syncCapsOnLogin(PlayerEvent.PlayerLoggedInEvent evt) { public static void syncCapsOnLogin(PlayerEvent.PlayerLoggedInEvent evt) {