Skip to content

Commit

Permalink
1.20 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fayer3 committed Jan 26, 2025
1 parent eb7b448 commit 9367e66
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions forge/src/main/java/org/vivecraft/client/forge/XplatImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import net.minecraftforge.client.ForgeHooksClient;
import net.minecraftforge.client.settings.KeyModifier;
import net.minecraftforge.common.ForgeMod;
import net.minecraftforge.common.util.FakePlayer;
import net.minecraftforge.fml.loading.FMLEnvironment;
import net.minecraftforge.fml.loading.FMLLoader;
import net.minecraftforge.fml.loading.FMLPaths;
Expand Down Expand Up @@ -154,8 +155,6 @@ public static int getKeyModifierKey(KeyMapping keyMapping) {
}

public static boolean isFakePlayer(ServerPlayer player) {
// TODO check if forge reimplemented it, it was removed with 1.20.3
// return player instanceof FakePlayer;
return false;
return player instanceof FakePlayer;
}
}

0 comments on commit 9367e66

Please sign in to comment.