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:
@@ -400,6 +400,11 @@ public class GuiWizardHandbook extends GuiScreen {
|
|||||||
*/
|
*/
|
||||||
public static void loadHandbookFile(IResourceManager manager){
|
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);
|
IResource handbookFile = getHandbookResource(manager);
|
||||||
|
|
||||||
if(handbookFile != null){
|
if(handbookFile != null){
|
||||||
|
|||||||
Reference in New Issue
Block a user