Customizable Player Models (Fabric)

Customizable Player Models (Fabric)

287k Downloads

`ICommonAPI.setPlayerModel()` not work

none283 opened this issue ยท 1 comments

commented

Non-static method 'setPlayerModel(java.lang.Class<P>, P, com.tom.cpm.shared.io.ModelFile, boolean)' cannot be referenced from a static context

when im trying to use ICommonAPI.setPlayerModel(Player.class, playerObj, modelFile, forced); method

commented

You need an instance of ICommonAPI to set the player model, and you must call this on the server! It won't work on the client.