diff --git a/Core/src/main/java/com/plotsquared/core/events/PlotMoveEvent.java b/Core/src/main/java/com/plotsquared/core/events/PlotMoveEvent.java index 338a41f7a0..c0a62c8c07 100644 --- a/Core/src/main/java/com/plotsquared/core/events/PlotMoveEvent.java +++ b/Core/src/main/java/com/plotsquared/core/events/PlotMoveEvent.java @@ -1,3 +1,21 @@ +/* + * PlotSquared, a land and world management plugin for Minecraft. + * Copyright (C) IntellectualSites + * Copyright (C) IntellectualSites team and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.plotsquared.core.events; import com.plotsquared.core.player.PlotPlayer; @@ -28,10 +46,15 @@ public PlotMoveEvent(final PlotPlayer initiator, final Plot plot, final Plot this.destination = destination; } + /** + * @return The destination for the plot to be moved to. + * @since TODO + */ public Plot destination() { return destination; } + @Override public Result getEventResult() { return result; diff --git a/Core/src/main/java/com/plotsquared/core/events/post/PostPlotMoveEvent.java b/Core/src/main/java/com/plotsquared/core/events/post/PostPlotMoveEvent.java index c9c9cf55e0..1e1067760d 100644 --- a/Core/src/main/java/com/plotsquared/core/events/post/PostPlotMoveEvent.java +++ b/Core/src/main/java/com/plotsquared/core/events/post/PostPlotMoveEvent.java @@ -1,3 +1,21 @@ +/* + * PlotSquared, a land and world management plugin for Minecraft. + * Copyright (C) IntellectualSites + * Copyright (C) IntellectualSites team and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.plotsquared.core.events.post; import com.plotsquared.core.events.PlotEvent; @@ -22,10 +40,18 @@ public PostPlotMoveEvent(final PlotPlayer initiator, final PlotId oldPlot, fi this.oldPlot = oldPlot; } + /** + * @return The player who initiated the plot move. + * @since TODO + */ public PlotPlayer initiator() { return initiator; } + /** + * @return The id of the old plot location. + * @since TODO + */ public PlotId oldPlot() { return oldPlot; }