snapshot 24w28a

This commit is contained in:
PeytonPlayz595 2024-07-08 09:27:32 -07:00
parent 204b25528e
commit 2bb51035c2
2 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,7 @@ public class EaglercraftVersion {
//Client name (Shadow)
public static final String projectForkName = new String(new byte[] {83, 104, 97, 100, 111, 119 });
//Build version (number + snapshot/official)
public static final String projectForkVersion = new String(new byte[] {52, 46, 53, 32, 115, 110, 97, 112, 115, 104, 111, 116, 45, 50, 52, 119, 50, 55, 97 });
public static final String projectForkVersion = new String(new byte[] {52, 46, 53, 32, 115, 110, 97, 112, 115, 104, 111, 116, 45, 50, 52, 119, 50, 56, 97 });
//Author name (PeytonPlayz585)
public static final String projectForkVendor = new String(new byte[] {80, 101, 121, 116, 111, 110, 80, 108, 97, 121, 122, 53, 56, 53 });

View File

@ -202,8 +202,9 @@ public class WorldRenderer {
* SLOW AND STUPID COMPANION FUNCTION TO 'func_181672_a'
*/
public void setVertexState(WorldRenderer.State state) {
this.grow(state.getRawBuffer().length);
PlatformBufferFunctions.put(this.intBuffer, 0, state.getRawBuffer());
int[] rawBuffer = state.getRawBuffer();
this.grow(rawBuffer.length);
PlatformBufferFunctions.put(this.intBuffer, 0, rawBuffer);
this.vertexCount = state.getVertexCount();
this.vertexFormat = state.getVertexFormat();
}