mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 03:56:41 +00:00
Additional work towards 1.16 compatibility
- Very basic implementation of the SideEffects system. Will definitely need fine tuning for it to be functional, but is not considered a priority in my opinion. - Minor changes to the World interface and World implementations related to the SideEffects system. Shouldn't be the cause of any new bugs but be on the lookout. - Included debug in BukkitImplLoader.java to assist contributors in understanding what needs to be implemented for the adapter to load properly. Still very WIP but we're a few steps closer. So far, this is coming along better than I anticipated. Hopefully we can keep the momentum.
This commit is contained in:
committed by
IronApollo
parent
f2bc8d86fc
commit
82adab77b4
@ -117,6 +117,7 @@ import com.sk89q.worldedit.regions.shape.RegionShape;
|
||||
import com.sk89q.worldedit.regions.shape.WorldEditExpressionEnvironment;
|
||||
import com.sk89q.worldedit.util.Countable;
|
||||
import com.sk89q.worldedit.util.Direction;
|
||||
import com.sk89q.worldedit.util.SideEffectSet;
|
||||
import com.sk89q.worldedit.util.TreeGenerator;
|
||||
import com.sk89q.worldedit.util.eventbus.EventBus;
|
||||
import com.sk89q.worldedit.util.formatting.text.TranslatableComponent;
|
||||
@ -572,6 +573,20 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
||||
disableHistory(enabled);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set which block updates should occur.
|
||||
*
|
||||
* @param sideEffectSet side effects to enable
|
||||
*/
|
||||
public void setSideEffectApplier(SideEffectSet sideEffectSet) {
|
||||
//Do nothing; TODO: SideEffects currently not fully implemented in FAWE.
|
||||
}
|
||||
|
||||
public SideEffectSet getSideEffectApplier() {
|
||||
//Do nothing; TODO: SideEffects currently not fully implemented in FAWE.
|
||||
return SideEffectSet.defaults();
|
||||
}
|
||||
|
||||
/**
|
||||
* Disable history (or re-enable)
|
||||
*
|
||||
|
Reference in New Issue
Block a user