diff --git a/src/core/draw.js b/src/core/draw.js index 58c052e..17fca7d 100644 --- a/src/core/draw.js +++ b/src/core/draw.js @@ -163,7 +163,11 @@ async function draw( }; } - if (setColor & 0x80) { + if (setColor & 0x80 + || (canvas.v + && x >= 96 && x <= 128 && y >= 35 && y <= 1000 + && !user.isAdmin()) + ) { logger.info(`${user.ip} tried to set on protected pixel (${x}, ${y})`); return { errorTitle: 'Pixel Protection',