fix critical bug

This commit is contained in:
An Orbit 2025-02-10 02:48:25 -05:00 committed by GitHub
parent efe9c6d851
commit 2cb0dafda8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 16 deletions

View File

@ -662,17 +662,12 @@ if(enabledMods.includes(libraryMod)) {
minecraftModEnabled = true minecraftModEnabled = true
} }
//maxColorOffset will only be applied if maxColorOffset.js is enabled
elements.silk_velvet = { elements.silk_velvet = {
color: ["#edece8", "#ede7e4"], color: ["#edece8", "#ede7e4"],
maxColorOffset: 7, grain: 0.5,
category: "land", category: "solids",
state: "solid", state: "solid",
behavior: [ behavior: behaviors.STURDYPOWDER,
"XX|XX|XX",
"XX|XX|XX",
"XX|M1|XX",
],
burnInto: "ash", burnInto: "ash",
burn:72, burn:72,
burnTime:25, burnTime:25,
@ -681,15 +676,11 @@ if(enabledMods.includes(libraryMod)) {
elements.red_velvet = { elements.red_velvet = {
color: ["#a80508", "#b30b0e"], color: ["#a80508", "#b30b0e"],
maxColorOffset: 7, grain: 0.5,
category: "land", category: "solids",
state: "solid", state: "solid",
behavior: [ behavior: behaviors.STURDYPOWDER,
"XX|XX|XX", tick: function(pixel) { //alias for velvet that is red
"XX|XX|XX",
"XX|M1|XX",
],
tick: function() { //alias for velvet that is red
pixel.element = "silk_velvet"; pixel.element = "silk_velvet";
}, },
burnInto: "ash", burnInto: "ash",