Architectury API (UNUSED)

Architectury API (UNUSED)

9M Downloads

1.20.2 Forge - PlayerHooks.isFake() crashes now

desht opened this issue ยท 0 comments

commented

Due to Lex's decision to drop the FakePlayer class from Forge, PlayerHooks.isFake() currently crashes with a NoClassDefFoundError.

I guess a suitable replacement for now at least would be as for the Fabric fallback: if (player instanceof ServerPlayer && player.getClass() != ServerPlayer.class) ?