Non-stupid shockwave shader uniform setting

This commit is contained in:
Anuken
2022-03-10 19:14:01 -05:00
parent 8af96999b0
commit 3847434c42
3 changed files with 12 additions and 14 deletions

View File

@@ -313,7 +313,7 @@ public class TypeIO{
/** @return the maximum acceptable amount of plans to send over the network */
public static int getMaxPlans(Queue<BuildPlan> plans){
//limit to prevent buffer overflows
int used = Math.min(plans.size, 15);
int used = Math.min(plans.size, 20);
int totalLength = 0;
//prevent buffer overflow by checking config length