Allow markers to be deleted (#9485)

This commit is contained in:
Redstonneur1256
2024-01-24 04:05:14 +01:00
committed by GitHub
parent 6f3e75569c
commit b9bf4ee794

View File

@@ -2049,6 +2049,11 @@ public class LExecutor{
state.markers.add(id, marker);
}
@Remote(called = Loc.server, variants = Variant.both, unreliable = true)
public static void removeMarker(int id){
state.markers.remove(id);
}
@Remote(called = Loc.server, variants = Variant.both, unreliable = true)
public static void updateMarker(int id, LMarkerControl control, double p1, double p2, double p3){
var marker = state.markers.get(id);