Skip to content

Commit

Permalink
updated check for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
josephworks authored and Hexeption committed Dec 22, 2020
1 parent bd5b438 commit 3ff41ab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.apache.tools.ant.taskdefs.condition.Os

buildscript {
repositories {
mavenLocal()
Expand Down Expand Up @@ -73,7 +71,7 @@ task runclient(type: JavaExec) {
group = "MCP"
description = "Runs the client"
classpath sourceSets.main.runtimeClasspath
if (Os.isFamily(Os.FAMILY_MAC)) {
if (System.getProperty("os.name").toLowerCase().contains("mac")) {
jvmArgs '-XstartOnFirstThread'
}
args '--gameDir', '.'
Expand Down

0 comments on commit 3ff41ab

Please sign in to comment.