Simple Chams

SimpleChams.java
@name("Simple Chams")
@author("Author")
@description("Simple Chams Addon")

public void onRenderPlayerEvent(StitchRenderPlayerEvent event) {
    event.cancel();

    GL42.glEnable(GL42.GL_POLYGON_OFFSET_FILL);
    GL42.glPolygonOffset(1.0f, -999999);

    event.getRenderFunction().run();

    GL42.glPolygonOffset(1.0f, 999999);
    GL42.glDisable(GL42.GL_POLYGON_OFFSET_FILL);
}

Last updated