gnembon / fabric-carpet

Fabric Carpet
MIT License
1.73k stars 275 forks source link

Why chage the return type of method EntityPlayerMPFake.createFake #1843

Closed yhw2003 closed 1 year ago

yhw2003 commented 1 year ago

I use the method like

EntityPlayerMPFake playerMPFake = EntityPlayerMPFake.createFake(username, server, new Vec3(pos_x, pos_y, pos_z), yaw, pitch,
                    ResourceKey.create(Registries.DIMENSION, new ResourceLocation(dimension)),
                    GameType.byName(gamemode), flying, null);

in the past, But now i can't got the return val, Is there anything instead?