mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-21 20:56:45 +01:00
Release 7.3.2
Signed-off-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
parent
76ea9e0d3c
commit
5021f5b379
@ -43,7 +43,7 @@ public interface CancellablePlotEvent {
|
|||||||
/**
|
/**
|
||||||
* @deprecated No usage and not null-safe
|
* @deprecated No usage and not null-safe
|
||||||
*/
|
*/
|
||||||
@Deprecated(since = "TODO")
|
@Deprecated(since = "7.3.2")
|
||||||
default int getEventResultRaw() {
|
default int getEventResultRaw() {
|
||||||
return getEventResult() != null ? getEventResult().getValue() : -1;
|
return getEventResult() != null ? getEventResult().getValue() : -1;
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,7 @@ import org.checkerframework.checker.nullness.qual.Nullable;
|
|||||||
* <p>
|
* <p>
|
||||||
* Setting the {@link #setPrice(double) price} to {@code 0} makes the plot practically free.
|
* Setting the {@link #setPrice(double) price} to {@code 0} makes the plot practically free.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 7.3.2
|
||||||
*/
|
*/
|
||||||
public class PlayerBuyPlotEvent extends PlotPlayerEvent implements CancellablePlotEvent {
|
public class PlayerBuyPlotEvent extends PlotPlayerEvent implements CancellablePlotEvent {
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ public class PlayerBuyPlotEvent extends PlotPlayerEvent implements CancellablePl
|
|||||||
* Sets the price required to buy the plot.
|
* Sets the price required to buy the plot.
|
||||||
*
|
*
|
||||||
* @param price the new price.
|
* @param price the new price.
|
||||||
* @since TODO
|
* @since 7.3.2
|
||||||
*/
|
*/
|
||||||
public void setPrice(@NonNegative final double price) {
|
public void setPrice(@NonNegative final double price) {
|
||||||
//noinspection ConstantValue - the annotation does not ensure a non-negative runtime value
|
//noinspection ConstantValue - the annotation does not ensure a non-negative runtime value
|
||||||
@ -63,7 +63,7 @@ public class PlayerBuyPlotEvent extends PlotPlayerEvent implements CancellablePl
|
|||||||
* Returns the currently set price required to buy the plot.
|
* Returns the currently set price required to buy the plot.
|
||||||
*
|
*
|
||||||
* @return the price.
|
* @return the price.
|
||||||
* @since TODO
|
* @since 7.3.2
|
||||||
*/
|
*/
|
||||||
public @NonNegative double price() {
|
public @NonNegative double price() {
|
||||||
return price;
|
return price;
|
||||||
|
@ -27,7 +27,7 @@ import org.checkerframework.checker.index.qual.NonNegative;
|
|||||||
/**
|
/**
|
||||||
* Called after a player has successfully bought a plot.
|
* Called after a player has successfully bought a plot.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 7.3.2
|
||||||
*/
|
*/
|
||||||
public class PostPlayerBuyPlotEvent extends PlotPlayerEvent {
|
public class PostPlayerBuyPlotEvent extends PlotPlayerEvent {
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ import com.plotsquared.core.plot.Plot;
|
|||||||
/**
|
/**
|
||||||
* Called after a {@link Plot} was cleared.
|
* Called after a {@link Plot} was cleared.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 7.3.2
|
||||||
*/
|
*/
|
||||||
public class PostPlotClearEvent extends PlotPlayerEvent {
|
public class PostPlotClearEvent extends PlotPlayerEvent {
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "com.intellectualsites.plotsquared"
|
group = "com.intellectualsites.plotsquared"
|
||||||
version = "7.3.2-SNAPSHOT"
|
version = "7.3.2"
|
||||||
|
|
||||||
if (!File("$rootDir/.git").exists()) {
|
if (!File("$rootDir/.git").exists()) {
|
||||||
logger.lifecycle("""
|
logger.lifecycle("""
|
||||||
|
Loading…
Reference in New Issue
Block a user