Removed deprecated (as of 1.6.0) SafeSpotTeleport.Builder.overrideGamemode()

This commit is contained in:
Florian CUNY 2020-06-02 10:25:40 +02:00
parent 38db699801
commit f4e3eda98c

View File

@ -358,17 +358,6 @@ public class SafeSpotTeleport {
return this;
}
/**
* Sets whether the player's gamemode should be overridden. Default is <tt>true</tt>
* @param overrideGamemode whether the player's gamemode should be overridden.
* @return Builder
* @deprecated As of 1.6.0, for removal. No longer in use as the player's gamemode is no longer changed upon teleporting.
*/
@Deprecated
public Builder overrideGamemode(boolean overrideGamemode) {
return this;
}
/**
* Try to teleport the player
* @return CompletableFuture that will become true if successfull and false if not