Retro64Mod / Retro64Mod.github.io

12 stars 2 forks source link

Disconnected when joining a server when another player is in Mario mode #184

Open jackson-57 opened 1 year ago

jackson-57 commented 1 year ago

Describe the bug See title. Joining the server results in 'Connection Lost' with the message Internal Exception: java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.player.Player.getCapability(net.minecraftforge.common.capabilities.Capability)" because "p" is null

To Reproduce Steps to reproduce the behavior:

  1. Join a server on client 1.
  2. Switch to Mario mode on client 1.
  3. Join that server on client 2.

Minecraft Version 1.19.3

Mod Version 1.0.13

Minecraft launcher Forge server, Prism Launcher

Desktop macOS 13.3.1, Azul Java 17.0.6