diff --git a/.travis.yml b/.travis.yml index 796da7b..5cd699f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ deploy: provider: releases api_key: $GITHUB_KEY file: - - build/libs/LockettePro-2.9.${TRAVIS_BUILD_NUMBER}-1.14-pre5.jar + - build/libs/LockettePro-2.9.${TRAVIS_BUILD_NUMBER}-1.14.jar on: tags: false skip_cleanup: true diff --git a/build.gradle b/build.gradle index cb27780..377ce1e 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'java' sourceCompatibility = 1.8 targetCompatibility = 1.8 -version = "2.9.%s-1.14-pre5" +version = "2.9.%s-1.14" if (System.getenv("TRAVIS_BUILD_NUMBER") != null) { project.version = String.format(project.version, System.getenv("TRAVIS_BUILD_NUMBER")) @@ -41,7 +41,7 @@ repositories { } dependencies { - compile 'org.bukkit:bukkit:1.14-pre5-SNAPSHOT' + compile 'org.bukkit:bukkit:1.14-R0.1-SNAPSHOT' compile('net.milkbowl.vault:VaultAPI:1.7') { transitive = false } diff --git a/src/main/java/me/crafter/mc/lockettepro/Utils.java b/src/main/java/me/crafter/mc/lockettepro/Utils.java index 1d7d6bd..1b22d9c 100644 --- a/src/main/java/me/crafter/mc/lockettepro/Utils.java +++ b/src/main/java/me/crafter/mc/lockettepro/Utils.java @@ -6,10 +6,7 @@ import com.google.common.cache.LoadingCache; import com.google.gson.JsonObject; import com.google.gson.JsonParser; -import org.bukkit.Bukkit; -import org.bukkit.GameMode; -import org.bukkit.Material; -import org.bukkit.Tag; +import org.bukkit.*; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.bukkit.block.Sign; @@ -59,6 +56,9 @@ public static Block putSignOn(Block block, BlockFace blockface, String line1, St } updateSign(newsign); Sign sign = (Sign)newsign.getState(); + if (newsign.getType() == Material.DARK_OAK_WALL_SIGN) { + sign.setColor(DyeColor.WHITE); + } sign.setLine(0, line1); sign.setLine(1, line2); sign.update();