Class MaxChangedBlocksException

All Implemented Interfaces:
Serializable

public class MaxChangedBlocksException extends WorldEditException
Thrown when too many blocks are changed (which may be limited due to the configuration).
See Also:
  • Constructor Details

    • MaxChangedBlocksException

      public MaxChangedBlocksException(int maxBlocks)
      Create a new instance.
      Parameters:
      maxBlocks - the maximum number of blocks that can be changed
  • Method Details

    • getBlockLimit

      public int getBlockLimit()
      Get the limit.
      Returns:
      the maximum number of blocks that can be changed