mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 11:17:11 +07:00
typo
This commit is contained in:
parent
bd659d2c97
commit
23673f0b11
@ -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);
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user