fix: correctly in initialise unlimited limit (#2231)

This commit is contained in:
Jordan 2023-05-20 15:22:02 +01:00 committed by GitHub
parent 2a08ad28a4
commit e9b781d127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@ package com.fastasyncworldedit.core.limit;
import com.fastasyncworldedit.core.FaweCache; import com.fastasyncworldedit.core.FaweCache;
import java.util.Collections;
import java.util.Set; import java.util.Set;
public class FaweLimit { public class FaweLimit {
@ -114,10 +115,10 @@ public class FaweLimit {
MAX.FAST_PLACEMENT = true; MAX.FAST_PLACEMENT = true;
MAX.CONFIRM_LARGE = true; MAX.CONFIRM_LARGE = true;
MAX.RESTRICT_HISTORY_TO_REGIONS = false; MAX.RESTRICT_HISTORY_TO_REGIONS = false;
MAX.STRIP_NBT = null; MAX.STRIP_NBT = Collections.emptySet();
MAX.UNIVERSAL_DISALLOWED_BLOCKS = false; MAX.UNIVERSAL_DISALLOWED_BLOCKS = false;
MAX.DISALLOWED_BLOCKS = null; MAX.DISALLOWED_BLOCKS = Collections.emptySet();
MAX.REMAP_PROPERTIES = null; MAX.REMAP_PROPERTIES = Collections.emptySet();
} }
public boolean MAX_CHANGES() { public boolean MAX_CHANGES() {