mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-25 09:31:46 +01:00
Removed deprecated (as of 1.6.0) SafeSpotTeleport.Builder.overrideGamemode()
This commit is contained in:
parent
38db699801
commit
f4e3eda98c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user