mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
[SNC] Implemented Mysterious Limousine
This commit is contained in:
parent
b85835be47
commit
aa2215fefb
3 changed files with 110 additions and 2 deletions
|
|
@ -49,8 +49,7 @@ public class Exile implements Serializable, Copyable<Exile> {
|
|||
}
|
||||
|
||||
private ExileZone createZone(UUID id, String name, boolean hidden) {
|
||||
exileZones.putIfAbsent(id, new ExileZone(id, name, hidden));
|
||||
return exileZones.get(id);
|
||||
return exileZones.computeIfAbsent(id, x -> new ExileZone(id, name, hidden));
|
||||
}
|
||||
|
||||
public ExileZone getExileZone(UUID id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue