Create infLiqLight.js

Makes liquid light never disappear
This commit is contained in:
MollTheCoder 2023-07-15 20:00:20 -04:00 committed by GitHub
parent 6734882ad0
commit 3b0fcecdd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

8
mods/infLiqLight.js Normal file
View File

@ -0,0 +1,8 @@
let oldLiqLightTick = elements.liquid_light.tick;
let oldDelPixel = deletePixel;
elements.liquid_light.tick = (pixel)=>{
deletePixel = ()=>{};
oldLiqLightTick(pixel);
deletePixel = oldDelPixel;
}
window.addEventListener("load", ()=>{});