From 95244ec07b61e32b648d35eb9d7ce65d51bc869b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lars=20M=C3=BCller?=
<34514239+appgurueu@users.noreply.github.com>
Date: Fri, 2 Feb 2024 20:13:23 +0100
Subject: [PATCH] Correct `[sheet` docs
---
doc/texture_modifiers.adoc | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/doc/texture_modifiers.adoc b/doc/texture_modifiers.adoc
index f363119..3afa176 100644
--- a/doc/texture_modifiers.adoc
+++ b/doc/texture_modifiers.adoc
@@ -298,12 +298,10 @@ NOTE: This always scales the crack to the size of the base texture (or the tiles
===== `+^[sheet:x:,+`
-* `w`, `h`: Tile dimensions (positive integers)
-* `x`, `y`: Tile position, 0-indexed
+* `w`, `h`: Tilesheet dimensions (positive integers, in tiles)
+* `x`, `y`: Tile position, 0-indexed (in tiles)
-Retrieves the tile at position `x`, `y`. Can be used to retrieve single pixels by setting `w`, `h` to `1`.
-
-WARNING: Setting `w` or `h` to `0` will trigger a floating point exception, crashing the client.
+Retrieves the tile at position `x`, `y`.
===== `+^[multiply:+`