From d960afd9f1388c70bc79e617de70f7729ea8a430 Mon Sep 17 00:00:00 2001 From: j502647092 Date: Sat, 1 Aug 2015 17:47:57 +0800 Subject: [PATCH] remove .setting... Signed-off-by: j502647092 --- .gitignore | 2 ++ .settings/org.eclipse.core.resources.prefs | 3 --- .settings/org.eclipse.jdt.core.prefs | 5 ----- .settings/org.eclipse.m2e.core.prefs | 4 ---- .../bukkit/residence/listeners/ResidencePlayerListener.java | 1 + 5 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 .settings/org.eclipse.core.resources.prefs delete mode 100644 .settings/org.eclipse.jdt.core.prefs delete mode 100644 .settings/org.eclipse.m2e.core.prefs diff --git a/.gitignore b/.gitignore index 733da02..7b3ac98 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +/.settings + # netbeans /nbproject diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 1df21ac..0000000 --- a/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,3 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 -encoding/src=UTF-8 diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index bbcbc93..0000000 --- a/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,5 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs deleted file mode 100644 index 14b697b..0000000 --- a/.settings/org.eclipse.m2e.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -activeProfiles= -eclipse.preferences.version=1 -resolveWorkspaceProjects=true -version=1 diff --git a/src/com/bekvon/bukkit/residence/listeners/ResidencePlayerListener.java b/src/com/bekvon/bukkit/residence/listeners/ResidencePlayerListener.java index 51689be..9f985cb 100644 --- a/src/com/bekvon/bukkit/residence/listeners/ResidencePlayerListener.java +++ b/src/com/bekvon/bukkit/residence/listeners/ResidencePlayerListener.java @@ -613,6 +613,7 @@ public class ResidencePlayerListener implements Listener { long now = System.currentTimeMillis(); if (!lastUpdate.containsKey(player.getName())) { lastUpdate.put(player.getName(), now); + return; } long last = lastUpdate.get(player.getName()); if (now - last < Residence.getConfigManager().getMinMoveUpdateInterval())