forked from External/mage
rewrote singleton to enum where applicable
This commit is contained in:
parent
3b62489ef5
commit
234cfe9519
872 changed files with 1796 additions and 2135 deletions
|
|
@ -49,14 +49,14 @@ import java.io.ObjectStreamException;
|
|||
*/
|
||||
public class WitherAbility extends StaticAbility implements MageSingleton {
|
||||
|
||||
private static final WitherAbility fINSTANCE = new WitherAbility();
|
||||
private static final WitherAbility instance = new WitherAbility();
|
||||
|
||||
private Object readResolve() throws ObjectStreamException {
|
||||
return fINSTANCE;
|
||||
return instance;
|
||||
}
|
||||
|
||||
public static WitherAbility getInstance() {
|
||||
return fINSTANCE;
|
||||
return instance;
|
||||
}
|
||||
|
||||
private WitherAbility() {
|
||||
|
|
@ -70,7 +70,7 @@ public class WitherAbility extends StaticAbility implements MageSingleton {
|
|||
|
||||
@Override
|
||||
public WitherAbility copy() {
|
||||
return fINSTANCE;
|
||||
return instance;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue