From 6d33069fe9679b2e320c7071f1422b85db652cb8 Mon Sep 17 00:00:00 2001 From: Lethosor Date: Mon, 5 Feb 2018 10:41:36 -0500 Subject: [PATCH] Fix more copy-paste errors --- plugins/remotefortressreader/remotefortressreader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/remotefortressreader/remotefortressreader.cpp b/plugins/remotefortressreader/remotefortressreader.cpp index 2e9e2aacf..e321bf8d5 100644 --- a/plugins/remotefortressreader/remotefortressreader.cpp +++ b/plugins/remotefortressreader/remotefortressreader.cpp @@ -1511,9 +1511,9 @@ static command_result GetBlockList(color_ostream &stream, const BlockRequest *in auto engraving = world->engravings[i]; if (engraving->pos.x < (min_x * 16) || engraving->pos.x >(max_x * 16)) continue; - if (engraving->pos.y < (min_y * 16) || engraving->pos.x >(max_y * 16)) + if (engraving->pos.y < (min_y * 16) || engraving->pos.y >(max_y * 16)) continue; - if (engraving->pos.z < min_z || engraving->pos.x > max_z * 16) + if (engraving->pos.z < min_z || engraving->pos.z > max_z) continue; if (!isEngravingNew(i)) continue;