1.1
This commit is contained in:
parent
77dd7f4409
commit
982e1e2ee2
@ -6,7 +6,7 @@
|
||||
<groupId>xyz.geniuscartel</groupId>
|
||||
<artifactId>ConstructTheArena</artifactId>
|
||||
<name>Construct The Arena</name>
|
||||
<version>0.0.1</version>
|
||||
<version>1.0</version>
|
||||
<description>A default base to start your own mod from.</description>
|
||||
|
||||
<properties>
|
||||
|
||||
@ -27,10 +27,11 @@ public class CArenaPatch {
|
||||
public static void Insert(CustomModeScreen __instance, CustomTrial trial, ArrayList<String> modIds, String modId) {
|
||||
if (modId.equals("constructTheArena:constructTheArena")) {
|
||||
//do nothing for now
|
||||
enabled = true;
|
||||
ArrayList<String> mods = ModHelper.getEnabledModIDs();
|
||||
mods.add("SealedDeck");
|
||||
ModHelper.setMods(mods);
|
||||
if (ModHelper.isModEnabled("constructTheArena:constructTheArena")) {
|
||||
enabled = true;
|
||||
} else {
|
||||
enabled = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -19,6 +19,8 @@ public class CArenaSkipMasterDeckPatch {
|
||||
public static void Insert(AbstractPlayer __instance, @ByRef boolean[] addBaseCards) {
|
||||
if (CArenaPatch.isEnabled()) {
|
||||
addBaseCards[0] = false;
|
||||
}else{
|
||||
addBaseCards[0] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"constructTheArena:constructTheArena": {
|
||||
"NAME": "Construct the Arena",
|
||||
"NAME": "Construct the Spire",
|
||||
"DESCRIPTION": "Constructed Deck Mode"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user