mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-06 16:37:38 +01:00
Merge pull request #394 from Eoghanmc22/patch-0
Fix a bug with the map api
This commit is contained in:
commit
3c660383e5
@ -37,7 +37,7 @@ public interface LargeFramebuffer {
|
||||
final int height = Math.min(height(), top + Framebuffer.HEIGHT) - top;
|
||||
for (int y = top; y < height; y++) {
|
||||
for (int x = left; x < width; x++) {
|
||||
final byte color = getMapColor(left, top);
|
||||
final byte color = getMapColor(x, y);
|
||||
colors[Framebuffer.index(x - left, y - top)] = color;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user