Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<patchGroups>
<minecraft>
<class id="net.minecraft.server.network.NetHandlerLoginServer">
<replaceMethod code="return new ^class:GameProfile^(this.^field:NetHandlerLoginServer/server^.^method:MinecraftServer/getPlayerProfileCache^().^method:PlayerProfileCache/getGameProfileForUsername^($1.^method:GameProfile/getName^()).^method:GameProfile/getId^(), $1.^method:GameProfile/getName^());">getOfflineProfile</replaceMethod>
</class>
</minecraft>
</patchGroups>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.