mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- CheckStyle.
This commit is contained in:
@@ -206,6 +206,7 @@ public final class CardEdition implements Comparable<CardEdition> { // immutable
|
||||
return Singletons.getModel().getFatPacks().contains(subject.getCode());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if is legal in format.
|
||||
*
|
||||
|
||||
@@ -157,9 +157,10 @@ public class DeckController<T extends DeckBase> implements IDeckController<T> {
|
||||
@Override
|
||||
public void load(final String name) {
|
||||
T newModel = this.folder.get(name);
|
||||
if (null != newModel)
|
||||
if (null != newModel) {
|
||||
this.setModel((T) newModel.copyTo(name), true);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
|
||||
@@ -27,7 +27,6 @@ public abstract class OpenablePack implements InventoryItemFromSet {
|
||||
this.name = name0;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public final String getName() {
|
||||
return this.name + " " + this.getType();
|
||||
|
||||
@@ -210,7 +210,6 @@ public final class QuestUtilCards {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Buy precon deck.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user