mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 20:36:42 +00:00
Removed the allow-extra-data-values option.
This reverts parts of e477141
.
Data values could never go past 15 anyway,
making the option pointless and misleading.
This commit is contained in:
@ -436,7 +436,7 @@ public class WorldEdit {
|
||||
// Parse the block data (optional)
|
||||
try {
|
||||
data = (typeAndData.length > 1 && typeAndData[1].length() > 0) ? Integer.parseInt(typeAndData[1]) : (allowNoData ? -1 : 0);
|
||||
if ((data > 15 && !config.allowExtraDataValues) || (data < 0 && !(allAllowed && data == -1))) {
|
||||
if (data > 15 || (data < 0 && !(allAllowed && data == -1))) {
|
||||
data = 0;
|
||||
}
|
||||
} catch (NumberFormatException e) {
|
||||
|
Reference in New Issue
Block a user