diff --git a/annotations/src/io/anuke/annotations/RemoteMethodAnnotationProcessor.java b/annotations/src/io/anuke/annotations/RemoteMethodAnnotationProcessor.java index c42df9f7a7..f37c852dba 100644 --- a/annotations/src/io/anuke/annotations/RemoteMethodAnnotationProcessor.java +++ b/annotations/src/io/anuke/annotations/RemoteMethodAnnotationProcessor.java @@ -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"; diff --git a/core/src/io/anuke/mindustry/net/NetEvents.java b/core/src/io/anuke/mindustry/net/NetEvents.java index 9106c96b40..b2f207c230 100644 --- a/core/src/io/anuke/mindustry/net/NetEvents.java +++ b/core/src/io/anuke/mindustry/net/NetEvents.java @@ -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); }