fixed moon log spam

This commit is contained in:
Pyritie 2025-08-08 12:40:13 +01:00
parent f3bfbf6285
commit 65090aa58e
2 changed files with 4 additions and 1 deletions

View file

@ -6,6 +6,7 @@
### Bug fixes ### Bug fixes
- Fixed a broken model for the aqueous accumulator. (#1557) @Redeix - Fixed a broken model for the aqueous accumulator. (#1557) @Redeix
- Fixed broken recipes for the aqueous accumulator. @Pyritie - Fixed broken recipes for the aqueous accumulator. @Pyritie
- Fixed log spam on the moon @Pyritie
## [0.10.7] - 07-08-2025 ## [0.10.7] - 07-08-2025
- Fixed an issue with mod dependencies - Fixed an issue with mod dependencies

View file

@ -7,6 +7,8 @@ const ROCK_LAYER_HEIGHT = 40;
// Bare minimum // Bare minimum
TFCEvents.createChunkDataProvider('moon', event => { TFCEvents.createChunkDataProvider('moon', event => {
const emptyLayer = TFC.misc.lerpFloatLayer(0, 0, 0, 0);
var aquifer = []; var aquifer = [];
let i = 0; let i = 0;
while (i < 16) { while (i < 16) {
@ -21,7 +23,7 @@ TFCEvents.createChunkDataProvider('moon', event => {
} }
event.partial((data, chunk) => { event.partial((data, chunk) => {
data.generatePartial(0, 0, 0, 0, 0) data.generatePartial(emptyLayer, emptyLayer, 0, 0, 0)
}) })
event.full((data, chunk) => { event.full((data, chunk) => {
data.generateFull(heights, aquifer) data.generateFull(heights, aquifer)