Skip to content

Commit

Permalink
Hotfix of kick-command
Browse files Browse the repository at this point in the history
  • Loading branch information
rlf committed Dec 29, 2014
1 parent 3db5b77 commit 768f9d5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
35 changes: 17 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
language: java
git:
submodules: false
deploy:
provider: releases
api_key:
secure: jwzx6+syioJoymcqS6AmFflOK3mBNFVWg5l215l7nKnaI7RLEVMA5n69s/mShAwmrqCfNg42Erg1p58Eivb2tdughIgWghDUlLXOz+B1KBC107Ci0m5Nvtn2AtXWillwv5KtzbokrfMxrx1mhELXO4h21mWcvAo3ovoB6hZWTII=
file: target/uSkyBlock.jar
release-number: latest
skip_cleanup: true
on:
tags: true
repo: rlf/uSkyBlock
branch: v2.0.0
all_branches: true
cache:
directories:
- $HOME/.m2
language: java
jdk:
- oraclejdk7
- openjdk6
deploy:
provider: releases
api_key:
secure: jwzx6+syioJoymcqS6AmFflOK3mBNFVWg5l215l7nKnaI7RLEVMA5n69s/mShAwmrqCfNg42Erg1p58Eivb2tdughIgWghDUlLXOz+B1KBC107Ci0m5Nvtn2AtXWillwv5KtzbokrfMxrx1mhELXO4h21mWcvAo3ovoB6hZWTII=
file: target/uSkyBlock.jar
skip_cleanup: true
on:
repo: rlf/uSkyBlock
all_branches: true
cache:
directories:
- $HOME/.m2

Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected boolean doExecute(String alias, Player player, PlayerInfo pi, IslandIn
if (Bukkit.getPlayer(island.getLeader()) != null) {
Bukkit.getPlayer(island.getLeader()).sendMessage("\u00a74" + playerName + " has been removed from the island.");
}
island.removeMember(plugin.getPlayerInfo(player.getName()));
island.removeMember(plugin.getPlayerInfo(playerName));
uSkyBlock.log(Level.INFO, "Removing from " + island.getLeader() + "'s Island");
} else {
player.sendMessage("\u00a74That player is not part of your island group!");
Expand Down

0 comments on commit 768f9d5

Please sign in to comment.