diff --git a/Client/src/main/java/com/baseband/client/configuration/annotation/AnyGate.java b/Client/src/main/java/com/baseband/client/configuration/annotation/AnyGate.java index 0d473c1..f1bfc39 100644 --- a/Client/src/main/java/com/baseband/client/configuration/annotation/AnyGate.java +++ b/Client/src/main/java/com/baseband/client/configuration/annotation/AnyGate.java @@ -38,6 +38,7 @@ public class AnyGate { if(gate == null) { gate = new AnyGate(f, o); map.put(f, gate); + gate.cacheAll(); } return gate; } @@ -48,8 +49,6 @@ public class AnyGate { this.multiGate = field.getDeclaredAnnotation(MultiGate.class); this.o = o; - cacheAll(); - Marker id = field.getDeclaredAnnotation(Marker.class); if(id != null) cache.put(id.value(), TRUE);