mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-02-22 21:20:39 +00:00
Ensure that air blocks always have data = 0.
This commit is contained in:
parent
8e2fc8b0d4
commit
71ee350172
@ -60,6 +60,10 @@ public class DataValidatorExtent extends AbstractDelegateExtent {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (type == 0) {
|
||||||
|
block.setData(0);
|
||||||
|
}
|
||||||
|
|
||||||
return super.setBlock(location, block);
|
return super.setBlock(location, block);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user