Zyin's HUD

Zyin's HUD

210k Downloads

Some InventoryUtil-reliant mods only work on first world entered in a session

RoyCurtis opened this issue ยท 1 comments

commented

Reproduction

  1. Open Minecraft and enter a single player or multiplayer world
  2. With ender pearls in inventory, press C to fire an ender pearl
  3. Observe as Ender Pearl Aid works as intended
  4. Leave world, then re-enter same or enter another world
  5. Repeat step 2.
  6. Observe as Ender Pearl Aid no longer works (ender pearls seem to get used, but do not appear in-world and item count is eventually reverted)

Fixes

In InventoryUtil.java, remove:

private static PlayerControllerMP playerController = mc.playerController;

then change all references to playerController with mc.playerController in-file

commented

I implemented the fix. Closing this bug.