TheEpicBlock / PolyMc

Making minecraft mods compatible with a vanilla client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Development Consulting / Reporting Issues

SAGUMEDREAM opened this issue · comments

Would you like to report or ask some development issues/BUGs?

Minecraft Version: 1.20.4

When I want to use "PolyMapProvider.EVENT.register(player -> {});" to make a custom PolyMap, the player type is ClientConnection instead of ServerPlayerEntity.

Yes, the polymap now needs to be created before the player entity is. You'll need to do whatever check you need on the client connection unfortunately