Skip to content

Commit

Permalink
update to 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
cyilin committed Apr 25, 2019
1 parent 48fc7c3 commit ddff82f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down Expand Up @@ -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
}
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/me/crafter/mc/lockettepro/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit ddff82f

Please sign in to comment.