Fix inventory mode 2 undo
This commit is contained in:
parent
28ee68f0a6
commit
934897ff1c
|
@ -77,6 +77,7 @@ public class BlockBagChangeSet extends AbstractDelegateChangeSet {
|
|||
@Override
|
||||
public void add(int x, int y, int z, BaseBlock from, BaseBlock to) {
|
||||
check(from.getCombined(), to.getCombined());
|
||||
super.add(x, y, z, from, to);
|
||||
}
|
||||
|
||||
public void check(int combinedFrom, int combinedTo) {
|
||||
|
|
|
@ -1575,6 +1575,7 @@ public class EditSession extends AbstractDelegateExtent implements HasFaweQueue,
|
|||
|
||||
public boolean canBypassAll(Region region, boolean get, boolean set) {
|
||||
if (wrapped) return false;
|
||||
if (history != null) return false;
|
||||
FaweRegionExtent regionExtent = getRegionExtent();
|
||||
if (!(region instanceof CuboidRegion)) return false;
|
||||
if (regionExtent != null) {
|
||||
|
|
Loading…
Reference in New Issue