clienthax / ChocoCraft2

A complete rewrite of chococraft for MinecraftForge
9 stars 6 forks source link

[bug] unable to use chocopedia on chocobo when on remote server #13

Closed danpolanco closed 8 years ago

danpolanco commented 8 years ago

It looks like in EntityChocobo.java, CC2 check if the client is remote and if they are, they aren't allowed to open the Chocopedia gui. Yeah?

if (!worldObj.isRemote) {
    if (player.getHeldItem() != null && player.getHeldItem().getItem() == Additions.chocopediaItem && isTamed() && getOwner() == player) {
        ChocoCraft2.proxy.openChocopedia(this);
        return true;
    }
}

So the gui opens in single player, but not multiplayer.

clienthax commented 8 years ago

Mhm nice catch, i need to change it to use a packet anywho,

hsyyid commented 8 years ago

Was fixed by @clienthax a while back