1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-16 11:41:50 +00:00

this.allowNonPrimaryColors added to BaseMap

Signed-off-by: Daan Breur <git@daanbreur.systems>
This commit is contained in:
Daan Breur 2021-11-21 20:53:17 +01:00
parent 61ea329659
commit a3bb91ebfb

View File

@ -15,6 +15,7 @@ export class BaseMap extends BasicSerializableObject {
static getSchema() {
return {
seed: types.uint,
allowNonPrimaryColors: types.bool,
};
}
@ -27,6 +28,7 @@ export class BaseMap extends BasicSerializableObject {
this.root = root;
this.seed = 0;
this.allowNonPrimaryColors = false;
/**
* Mapping of 'X|Y' to chunk