Transmog

Transmog

10M Downloads

Compatibility issue with Vivecraft

fayer3 opened this issue ยท 4 comments

commented

Vivecraft calls GamerRendere.render() multiple times per frame, but only lets it run through once, which causes the renderCounter

private static int renderCount = 0;

to be out of whack and returning a fake inventory

private void transmogInventory(CallbackInfoReturnable<Inventory> cir) {

when it shouldn't, causing the player to not be able to change items.

if you can't really fix that, I could add a call on our side to call this for everything that exits early

public static void exitRenderClass() {
renderCount--;
}

commented

Interesting. Could you link me to the file where do you invoke GameRenderer.render() from in Vivecraft? Depending on how you do it I might have to think of a more creative way to track the render state of the game

commented

Took me a long time to get around to it, but I've just released a new version that might address this.
If possible, I'd appreciate if you could check and let me know if that fixes the issue or not!

commented

looks like it works now.