Remove any references to local files, fix build
This commit is contained in:
@@ -20,11 +20,14 @@ allprojects {
|
||||
}
|
||||
repositories {
|
||||
mavenCentral()
|
||||
mavenLocal()
|
||||
maven("https://dl.bintray.com/kotlin/exposed")
|
||||
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
|
||||
maven("https://hub.spigotmc.org/nexus/content/repositories/sonatype-nexus-snapshots")
|
||||
}
|
||||
dependencies {
|
||||
compile(files("${rootProject.rootDir.parentFile}/res/spigot-1.13-pre7.jar"))
|
||||
val spigotVersion = "1.13-R0.1-SNAPSHOT"
|
||||
compile("org.bukkit:bukkit:$spigotVersion")
|
||||
compile("org.spigotmc:spigot-api:$spigotVersion")
|
||||
|
||||
compile("net.sf.trove4j:trove4j:3.0.3")
|
||||
testCompile("junit:junit:4.12")
|
||||
}
|
||||
@@ -37,6 +40,10 @@ project(":dicore3:dicore3-command") {
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven("https://dl.bintray.com/kotlin/exposed")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile(project(":dicore3:dicore3-core"))
|
||||
compile(project(":dicore3:dicore3-command"))
|
||||
|
||||
@@ -17,7 +17,7 @@ public class InventoryEventUtil {
|
||||
}
|
||||
|
||||
public static ItemStack getNewItem(InventoryClickEvent event) {
|
||||
Inventory clicked = event.getClickedInventory();
|
||||
Inventory clicked = event.getInventory();
|
||||
switch (event.getAction()) {
|
||||
case SWAP_WITH_CURSOR:
|
||||
case PLACE_ALL:
|
||||
|
||||
Reference in New Issue
Block a user