Plex-FAWE/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool
wizjany 1934006d14 Better enforce the Request lifetime.
Previously, the current request would just get a new EditSession when
one was created. Now, a Request is reset before and after:
 - a command is used and
 - an interact is fired with the platform
This means each action taken will get a single, non-reusable Request.

Note that this only applies to actions taken through the platform.
API users will not be using requests anyway, since things like Masks,
etc. will be constructed directly instead of being passed through the
platform's parsers and so on. (e.g. if a plugin loads a schematic into
the world with a mask, they should create the EditSession and mask it
directly, and not use that Mask again for another EditSession in another
World).

Also, get rid of a bunch of (some now-)unnecessary EditSession creation
during command dispatching.

Note that this also fixed the dynamic selection mask, which apparently
has been broken for some unknown amount of time.
2019-03-20 19:13:54 -04:00
..
brush Add better control over expression timeouts. (#451) 2019-03-06 19:58:32 -05:00
AreaPickaxe.java Move vectors to static creators, for caching 2018-11-03 23:00:24 -07:00
BlockDataCyler.java Remove all raw usages of BSH, improve API generics 2018-12-26 16:39:10 -08:00
BlockReplacer.java Remove all raw usages of BSH, improve API generics 2018-12-26 16:39:10 -08:00
BlockTool.java Little bit of formatting 2018-08-27 17:24:18 +10:00
BrushTool.java Better enforce the Request lifetime. 2019-03-20 19:13:54 -04:00
DistanceWand.java Refactor vector system to be cleaner 2018-11-03 23:00:23 -07:00
DoubleActionBlockTool.java Little bit of formatting 2018-08-27 17:24:18 +10:00
DoubleActionTraceTool.java Little bit of formatting 2018-08-27 17:24:18 +10:00
FloatingTreeRemover.java Refactor vector system to be cleaner 2018-11-03 23:00:23 -07:00
FloodFillTool.java Refactor vector system to be cleaner 2018-11-03 23:00:23 -07:00
InvalidToolBindException.java package move 2018-08-04 11:43:40 +10:00
LongRangeBuildTool.java Fix long-range build tool. 2019-02-03 19:27:30 -05:00
QueryTool.java Remove all raw usages of BSH, improve API generics 2018-12-26 16:39:10 -08:00
RecursivePickaxe.java Refactor vector system to be cleaner 2018-11-03 23:00:23 -07:00
SinglePickaxe.java Refactor vector system to be cleaner 2018-11-03 23:00:23 -07:00
Tool.java Little bit of formatting 2018-08-27 17:24:18 +10:00
TraceTool.java Little bit of formatting 2018-08-27 17:24:18 +10:00
TreePlanter.java Refactor vector system to be cleaner 2018-11-03 23:00:23 -07:00