Skip to content

Commit b7518c5

Browse files
committed
merge conflict resolution
2 parents 4d205e4 + 5df11de commit b7518c5

File tree

2 files changed

+16
-23
lines changed

2 files changed

+16
-23
lines changed

build.gradle

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,15 @@ javadoc {
3434

3535
description = 'OreSpawn'
3636
def mod_file = getModFile()
37-
def mc_version = '1.11.2'
38-
39-
ext {
40-
short_version = getVersion('VERSION', mod_file)
41-
}
42-
43-
version = mc_version + '-' + short_version
37+
def mc_version = "1.11.2"
38+
def short_version = getVersion("VERSION", mod_file)
39+
version = mc_version + "-" + short_version
4440
if (System.getenv().BUILD_NUMBER) {
4541
version += '.' + System.getenv().BUILD_NUMBER
4642
}
47-
group = 'com.mcmoddev'
48-
archivesBaseName = 'OreSpawn'
49-
sourceCompatibility = targetCompatibility = '1.8'
43+
group = "com.mcmoddev"
44+
archivesBaseName = "OreSpawn"
45+
sourceCompatibility = targetCompatibility = "1.8"
5046

5147
class Secrets {
5248
def data = null
@@ -73,12 +69,10 @@ if (secretFile.exists()) {
7369
}
7470

7571
minecraft {
76-
version = '1.11.2-13.20.0.2228'
77-
runDir = 'run'
78-
mappings = 'stable_32'
79-
// coreMod = corePlugin
80-
// clientJvmArgs = ["-Dfml.coreMods.load=$corePlugin"]
81-
// serverJvmArgs = ["-Dfml.coreMods.load=$corePlugin"]
72+
version = "1.11.2-13.20.0.2228"
73+
runDir = "run"
74+
mappings = "stable_32"
75+
// coreMod = ""
8276
makeObfSourceJar = false
8377
}
8478

@@ -236,12 +230,12 @@ publishing {
236230
curseforge {
237231
apiKey = secret.curseforgeAPIKey
238232
project {
239-
id = '245586'
240-
changelog = file('CHANGELOG.txt')
241-
releaseType = 'release'
242-
addGameVersion(project.mc_version)
243-
def projName = 'OreSpawn'
244-
def displayVersion = getVersion('VERSION', mod_file)
233+
id = "245586"
234+
changelog = file("CHANGELOG.txt")
235+
releaseType = "alpha"
236+
addGameVersion("1.11")
237+
def projName = "OreSpawn"
238+
def displayVersion = getVersion("VERSION", mod_file)
245239
if (System.getenv().BUILD_NUMBER) {
246240
displayVersion += '.' + System.getenv().BUILD_NUMBER
247241
}

src/main/java/com/mcmoddev/orespawn/commands/ClearChunkCommand.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public void execute(MinecraftServer server, ICommandSender sender, String[] args
3939
for (int z = chunkPos.getZStart(); z <= chunkPos.getZEnd(); z++) {
4040
BlockPos pos = new BlockPos(x, y, z);
4141
Block block = player.world.getBlockState(pos).getBlock();
42-
4342
if (OreSpawnWorldGen.getSpawnBlocks().contains(block)) {
4443
player.world.setBlockToAir(pos);
4544
}

0 commit comments

Comments
 (0)