4 Commits

Author SHA1 Message Date
3481c2a10f Bumped version to 2.1.0 2013-03-26 20:53:21 +01:00
a319f793b2 Removed unused import. 2013-03-26 20:52:10 +01:00
6373f98894 Removed debug prints. 2013-03-26 20:49:48 +01:00
e49c5c0acb Updated classpath file. 2013-03-26 20:49:29 +01:00
4 changed files with 4 additions and 12 deletions

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="lib" path="/Users/tobi/Code/craftbukkit-1.4.5-R1.0.jar" sourcepath="//Users/tobi/Code/Bukkit">
<classpathentry kind="lib" path="/Users/tobi/Code/craftbukkit-1.4.5-R1.0.jar" sourcepath="/Users/tobi/Code/Bukkit">
<attributes>
<attribute name="source_encoding" value="UTF-8"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="/Users/tobi/Code/Vault.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -1,5 +1,5 @@
name: Craft Inc. Gates
version: 2.1.0-beta
version: 2.1.0
description: A plugin to create gates for fast traveling.
softdepend: [Vault]
author: tomco, s1m0ne

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

@ -12,7 +12,6 @@ import org.bukkit.event.entity.EntityPortalEnterEvent;
import org.bukkit.event.player.PlayerPortalEvent;
import de.craftinc.gates.Gate;
import de.craftinc.gates.Plugin;
import de.craftinc.gates.util.GateUtil;
@ -76,10 +75,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;