Some documentation on the new event
This commit is contained in:
parent
201ba58c3e
commit
554bb94832
|
|
@ -5,7 +5,10 @@ import org.bukkit.event.Event;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Robo on 11/15/2016.
|
* Called when GP is about to deliver claim blocks to a player (~every 10 minutes)
|
||||||
|
*
|
||||||
|
* @author RoboMWM
|
||||||
|
* 11/15/2016.
|
||||||
*/
|
*/
|
||||||
public class AccrueClaimBlocksEvent extends Event
|
public class AccrueClaimBlocksEvent extends Event
|
||||||
{
|
{
|
||||||
|
|
@ -44,6 +47,10 @@ public class AccrueClaimBlocksEvent extends Event
|
||||||
return this.cancelled;
|
return this.cancelled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Modify the amount of claim blocks to deliver to the player
|
||||||
|
* @param blocksToAccrue blocks to deliver
|
||||||
|
*/
|
||||||
public void setBlocksToAccrue(int blocksToAccrue)
|
public void setBlocksToAccrue(int blocksToAccrue)
|
||||||
{
|
{
|
||||||
this.blocksToAccrue = blocksToAccrue;
|
this.blocksToAccrue = blocksToAccrue;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user