Add some NPE protection to saving player data to disk

This commit is contained in:
Pahimar 2015-02-07 12:59:16 -05:00
parent 62c9a6e754
commit d77ee1bd02

View file

@ -21,7 +21,7 @@ public class TransmutationKnowledge implements INBTTaggable, JsonSerializer<Tran
private static final Gson jsonSerializer = (new GsonBuilder()).setPrettyPrinting().registerTypeAdapter(TransmutationKnowledge.class, new TransmutationKnowledge()).create();
private boolean canTransmuteEverything;
private Set<ItemStack> knownTransmutations;
private boolean hasBeenModified;
private boolean hasBeenModified = false;
public TransmutationKnowledge()
{