Increased max packet size to 1024

This commit is contained in:
Anuken 2018-06-06 21:07:53 -04:00
parent c443eee15d
commit ab9cdf5610
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ import java.util.stream.Collectors;
})
public class RemoteMethodAnnotationProcessor extends AbstractProcessor {
/**Maximum size of each event packet.*/
public static final int maxPacketSize = 512;
public static final int maxPacketSize = 1024;
/**Name of the base package to put all the generated classes.*/
private static final String packageName = "io.anuke.mindustry.gen";

View File

@ -6,7 +6,7 @@ import io.anuke.mindustry.world.Tile;
public class NetEvents {
@Remote(unreliable = true, one = true)
@Remote(unreliable = true, one = true, all = false)
public static void callClientMethod(int something, Player player, String str, boolean bool){
System.out.println("Called " + something + " ? " + bool);
}