The bank widget can become null before the bank build script finishes by holding the bank close key as the bank is opened. This commit adds a null check to avoid this possible NPE.
The bank widget can become null before the bank build script finishes by holding the bank close key as the bank is opened. This commit adds a null check to avoid this possible NPE.