geforkt von Mirrors/Paper
Added useExactLoginLocation(). Closes BUKKIT-145
useExactLoginLocation() looks for settings.use-exact-login-location within bukkit.yml. If true, we will bypass Vanilla's behaviour of checking for collisions and moving the player if needed when they login. If false, we will continue to follow Vanilla's behaviour and move players that 'collide' with objects when they login. By: EvilSeph <evilseph@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
ac2271958e
Commit
378815c162
@ -441,6 +441,16 @@ public interface Server extends PluginMessageRecipient {
|
|||||||
*/
|
*/
|
||||||
public boolean getAllowFlight();
|
public boolean getAllowFlight();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets whether to use vanilla (false) or exact behaviour (false).
|
||||||
|
*
|
||||||
|
* Vanilla behaviour: check for collisions and move the player if needed.
|
||||||
|
* Exact behaviour: spawn players exactly where they should be.
|
||||||
|
*
|
||||||
|
* @return Whether to use vanilla (false) or exact behaviour (true).
|
||||||
|
*/
|
||||||
|
public boolean useExactLoginLocation();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shutdowns the server, stopping everything.
|
* Shutdowns the server, stopping everything.
|
||||||
*/
|
*/
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren