Skip to content

Commit

Permalink
Prevent double messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
asofold committed Feb 9, 2014
1 parent a7d9430 commit 86ffd4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Archer/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Archer
main: me.asofold.bpl.archer.Archer
version: 1.1.7
version: 1.1.8

commands:
archer:
Expand Down
1 change: 1 addition & 0 deletions Archer/src/me/asofold/bpl/archer/Archer.java
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ else if (dz != 0.0){
final String msg = ChatColor.WHITE + data.playerName + ChatColor.GRAY + " hits " + specPart;
data.player.sendMessage(ChatColor.WHITE + "---> " + ChatColor.GRAY + "hits " + specPart);
sendNotifyTarget(msg, targetLocation, data);
data.removeLaunch(entityId);
}

private final String stringPos(final double x, final double y, final double z) {
Expand Down

0 comments on commit 86ffd4e

Please sign in to comment.