Commit graph

8 commits

Author SHA1 Message Date
b816133716
core: implement fetch_command_def
This rovides an abstraction to fetch a worldedit command's definition, 
regardless of where it was registered.

We would normally expect all commands to be registered in 
wea_c.registered_commands, but before we only do a one-off pass to 
import commands from worldedit should a new mod we aren't aware of 
register a command with worldedit and get loaded after us, we won't 
detect it - hencee  the need for this function.
2022-05-19 02:31:01 +01:00
c60b5c5bad
core: fix bugs, enable! 2022-05-19 01:45:36 +01:00
8f6c3e020f
fixup 2022-05-17 01:04:51 +01:00
d21f7ca5fb
core: minor fixes 2022-05-17 01:04:38 +01:00
1fda9725c7
Implement run_command, but it's not quite finished yet
We still have yet to implement safe_region. Doing so will be 
non-trivial, as we'll need to override //y and //n, but then  also keep 
track of commands defined in worldedit and call the right version of //y 
and //n.
2022-05-17 01:03:58 +01:00
f984f5d7b7
Begin rewriting worldeditadditions_core
We should be able to make things a lot cleaner and more robust.
2022-05-16 23:32:40 +01:00
VorTechnix
7b651d7abe
Fix typo worldeditadditions_core/init.lua
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-07-15 13:47:37 -07:00
VorTechnix
ba93cb7bea added WEA Core 2021-06-29 18:53:14 -07:00