Removed debug prints.
This commit is contained in:
parent
e49c5c0acb
commit
6373f98894
@ -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");
|
||||
|
@ -77,9 +77,6 @@ public class PluginPortalListener implements Listener
|
||||
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user