1.20.2 Forge - PlayerHooks.isFake() crashes now
desht opened this issue ยท 0 comments
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) ?