BiscuitDevelopment / SkyblockAddons

A Minecraft Forge mod with helpful Hypixel skyblock features!
Other
483 stars 238 forks source link

[Bug] Other players fishing at Jerry Pond are detected as NPCs by NPC check #383

Closed ILikePlayingGames closed 3 years ago

ILikePlayingGames commented 4 years ago

Please note that we do not provide support for clients other than Forge. We will not fix compatibility issues with other clients.

Describe the bug Other players who are using the fishing rod at Jerry Pond are incorrectly detected as NPCs by the NPC check.

To Reproduce Steps to reproduce the behavior (how did you get this bug to occur):

  1. Go to Jerry Pond
  2. Players holding fishing rods are hidden

Expected behavior The other players aren't detected as NPCs

Screenshots N/A

Crash Report N/A

System Information

Other Installed Mods N/A

Additional info Reported by @iHDeveloper

iHDeveloper commented 4 years ago

If I find any more details about the issue, I will include them here. 😃

iHDeveloper commented 4 years ago

image

iHDeveloper commented 4 years ago

image

iHDeveloper commented 4 years ago

When fishing Frozen Steve in Jerry's rod. The mod considers it as NPC and hides all players around it.

ILikePlayingGames commented 4 years ago

Oh thanks!

iHDeveloper commented 4 years ago

I tried to fish in Jerry's Pod after the fix with commit (47f7e18). Players are still getting invisible. Especially after fishing Frozen Steve.

I copied the NBT of the entity to help you find a solution. 😄

Frozen Steve NBT Entity

Class: EntityOtherPlayerMP
Name: Frozen Steve
NBT Data:
{
    HurtByTimestamp: 0,
    Spawns: [],
    SleepTimer: 0s,
    Attributes: [{
        Base: 1500.0d,
        Name: "generic.maxHealth"
    }, {
        Base: 0.0d,
        Name: "generic.knockbackResistance"
    }, {
        Base: 0.23000000417232513d,
        Name: "generic.movementSpeed"
    }, {
        Base: 1.0d,
        Name: "generic.attackDamage"
    }],
    Invulnerable: 0b,
    PortalCooldown: 0,
    AbsorptionAmount: 0.0f,
    abilities: {
        invulnerable: 0b,
        mayfly: 0b,
        instabuild: 0b,
        walkSpeed: 0.1f,
        mayBuild: 1b,
        flying: 0b,
        flySpeed: 0.05f
    },
    FallDistance: 0.0f,
    DeathTime: 0s,
    XpSeed: 0,
    HealF: 1500.0f,
    XpTotal: 0,
    Motion: [-0.006375d, -0.078375d, -0.263d],
    UUIDLeast: -7706956892908065399L,
    Health: 1500s,
    foodSaturationLevel: 5.0f,
    Air: 300s,
    OnGround: 1b,
    Dimension: 0,
    Rotation: [-204.13002f, -22.820215f],
    XpLevel: 0,
    Score: 0,
    UUIDMost: -4293184904562465207L,
    Sleeping: 0b,
    Pos: [-48.04000914494741d, 76.00091449474165d, 50.22423696844994d],
    Fire: 0s,
    XpP: 0.0f,
    EnderItems: [],
    foodLevel: 20,
    foodExhaustionLevel: 0.0f,
    HurtTime: 0s,
    SelectedItemSlot: 0,
    Inventory: [],
    foodTickTimer: 0
}
ILikePlayingGames commented 3 years ago

This one was confirmed fixed a while ago, I forgot to close it.