This commit is contained in:
Anuken 2020-10-22 20:34:02 -04:00
parent bd659d2c97
commit 23673f0b11
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ public abstract class UnlockableContent extends MappableContent{
} }
/** Unlocks this content, but does not fire any events. */ /** Unlocks this content, but does not fire any events. */
public void quiteUnlock(){ public void quietUnlock(){
if(!unlocked()){ if(!unlocked()){
unlocked = true; unlocked = true;
Core.settings.put(name + "-unlocked", true); Core.settings.put(name + "-unlocked", true);

View File

@ -70,7 +70,7 @@ public class LegacyIO{
String name = stream.readUTF(); String name = stream.readUTF();
Content out = Vars.content.getByName(type, name); Content out = Vars.content.getByName(type, name);
if(out instanceof UnlockableContent u){ if(out instanceof UnlockableContent u){
u.unlock(); u.quietUnlock();
} }
} }
} }