Skip to content

Commit

Permalink
#1072: Fix bad naming for Vault State methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Doc94 authored and md-5 committed Oct 28, 2024
1 parent 6dd5810 commit 8a9ecf2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/main/java/org/bukkit/block/data/type/Vault.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,32 @@ 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();

/**
* Sets the value of the 'vault_state' property.
*
* @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);

/**
Expand Down

0 comments on commit 8a9ecf2

Please sign in to comment.