It never fails to amaze me how many things that should never be null somehow end up being null for one single user...

This commit is contained in:
Electroblob77
2020-08-24 21:22:10 +01:00
parent f9cd90bd49
commit 1c8011ff74
@@ -400,6 +400,11 @@ public class GuiWizardHandbook extends GuiScreen {
*/
public static void loadHandbookFile(IResourceManager manager){
if(manager == null){
Wizardry.logger.error("Tried to reload the handbook file, but received a null resource manager. Aborting!");
return;
}
IResource handbookFile = getHandbookResource(manager);
if(handbookFile != null){