mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 11:27:35 +01:00
#1072: Fix bad naming for Vault State methods
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
79a73f5e87
commit
4243e6b666
@ -16,6 +16,16 @@ public interface Vault extends Directional {
|
||||
* @return the 'vault_state' value
|
||||
*/
|
||||
@NotNull
|
||||
State getVaultState();
|
||||
|
||||
/**
|
||||
* Gets the value of the 'vault_state' property.
|
||||
*
|
||||
* @return the 'vault_state' value
|
||||
* @deprecated see {@link #getVaultState()}
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
@NotNull
|
||||
State getTrialSpawnerState();
|
||||
|
||||
/**
|
||||
@ -23,6 +33,15 @@ public interface Vault extends Directional {
|
||||
*
|
||||
* @param state the new 'vault_state' value
|
||||
*/
|
||||
void setVaultState(@NotNull State state);
|
||||
|
||||
/**
|
||||
* Sets the value of the 'vault_state' property.
|
||||
*
|
||||
* @param state the new 'vault_state' value
|
||||
* @deprecated see {@link #setVaultState(State)}
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
void setTrialSpawnerState(@NotNull State state);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user