Removed debug prints.

This commit is contained in:
Tobias Ottenweller 2013-03-26 20:49:48 +01:00
parent e49c5c0acb
commit 6373f98894
2 changed files with 1 additions and 8 deletions

View File

@ -31,12 +31,8 @@ public class CommandSetExit extends BaseCommand
{
try
{
System.out.println(gate.getExit());
gate.setExit(player.getLocation());
sendMessage(ChatColor.GREEN + "The exit of gate '" + gate.getId() + "' is now where you stand.");
System.out.println(gate.getExit());
}
catch (Exception e) {
sendMessage(ChatColor.RED + "Setting the exit for the gate failed! See server log for more information");

View File

@ -76,10 +76,7 @@ public class PluginPortalListener implements Listener
eventLocation.setY(closestGate.getLocation().getY());
double distToClosestGate = closestGate.getLocation().distance(eventLocation);
Plugin.log("closest gate: " + closestGate.getId());
Plugin.log("distance: " + distToClosestGate);
if (distToClosestGate < 2.0) {
this.currentGateAtEvent.put(player, closestGate);
return;