Skip to content

fix: window index field lookup - #2

Closed
SocialMoods wants to merge 1 commit into
LuminiaDev:masterfrom
SocialMoods:fix/windowindex-field-lookup
Closed

SocialMoods wants to merge 1 commit into
LuminiaDev:masterfrom
SocialMoods:fix/windowindex-field-lookup

Conversation

@SocialMoods

Copy link
Copy Markdown

This PR fixes issue when Player class has been changed during PlayerCreationEvent:

    @EventHandler
    public void onPlayerCreation(PlayerCreationEvent event) {
        // inject proxy to handleDataPacket method
        event.setPlayerClass(SyncPlayer.class);
    }
public class SyncPlayer extends Player 

@KoshakMineDEV

Copy link
Copy Markdown
Member

#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants