Add some NPE protection to saving player data to disk
This commit is contained in:
parent
62c9a6e754
commit
d77ee1bd02
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue