Skip to content

Commit

Permalink
Disable freezing temporarily to see does this resolve teleportation i…
Browse files Browse the repository at this point in the history
…ssues, release 0.9.15.4 Pre Release
  • Loading branch information
teozfrank committed Aug 7, 2015
1 parent c3f3f5e commit 3003da1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ public void onPlayerDeath(PlayerDeathEvent e) {
e.setDeathMessage("");
return;
}
e.setDeathMessage(fm.getPrefix() + ChatColor.AQUA + loser.getName() + ChatColor.RED + " was killed in a duel by "
+ ChatColor.AQUA + killer.getName() + ChatColor.GOLD +" in arena " + ChatColor.AQUA + dm.getPlayersArenaName(playerUUID));
e.setDeathMessage(fm.getPrefix() + " " + ChatColor.AQUA + loser.getName() + ChatColor.RED + " was killed in a duel by "
+ ChatColor.AQUA + killer.getName() + ChatColor.RED +" in arena " + ChatColor.GOLD + dm.getPlayersArenaName(playerUUID));
} else {
if(!fm.isDeathMessagesEnabled()){
e.setDeathMessage("");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,8 @@ public void startDuel(Player acceptor, Player sender, double betAmount) {
}

if (senderTeleportSuccess && acceptorTeleportSuccess) {
addFrozenPlayer(senderUUID);//freeze the player
addFrozenPlayer(acceptorUUID);//freeze the player
//addFrozenPlayer(senderUUID);//freeze the player
//addFrozenPlayer(acceptorUUID);//freeze the player
} else {
endDuel(freeArena);// end the duel if teleportation of both players is not a success
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: DuelMe
version: 0.9.15.3
version: 0.9.15.4 Pre Release
author: teozfrank
description: allows players to duel each other in a controlled environment
main: com.teozcommunity.teozfrank.duelme.main.DuelMe
Expand Down

0 comments on commit 3003da1

Please sign in to comment.