Update PlatformCommandManager.java

This commit is contained in:
Jesse Boyd 2019-11-02 19:32:44 +01:00
parent b97b40e413
commit 70efdf8c54
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -727,6 +727,7 @@ public final class PlatformCommandManager {
if (context instanceof MemoizingValueAccess) {
context = ((MemoizingValueAccess) context).snapshotMemory();
} else {
System.out.println("Invalid context " + context);
}
Optional<EditSession> editSessionOpt = context.injectedValue(Key.of(EditSession.class));