Deprecate exact login location. It is unlikely anyone uses it.

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2015-05-31 12:07:39 +10:00
parent f9402cfa7e
commit bb8989b928
2 changed files with 6 additions and 0 deletions

View file

@ -703,7 +703,10 @@ public final class Bukkit {
* *
* @return true if exact location locations are used for spawning, false * @return true if exact location locations are used for spawning, false
* for vanilla collision detection or otherwise * for vanilla collision detection or otherwise
*
* @deprecated non standard and unused feature.
*/ */
@Deprecated
public static boolean useExactLoginLocation() { public static boolean useExactLoginLocation() {
return server.useExactLoginLocation(); return server.useExactLoginLocation();
} }

View file

@ -575,7 +575,10 @@ public interface Server extends PluginMessageRecipient {
* *
* @return true if exact location locations are used for spawning, false * @return true if exact location locations are used for spawning, false
* for vanilla collision detection or otherwise * for vanilla collision detection or otherwise
*
* @deprecated non standard and unused feature.
*/ */
@Deprecated
public boolean useExactLoginLocation(); public boolean useExactLoginLocation();
/** /**