Revert "Merge pull request #8070 from Nightfirecat/fix-ground-markers-bug"
This reverts commitb6cd739e61, reversing changes made to5bf4b37d17.
This commit is contained in:
@@ -314,10 +314,11 @@ public class GroundMarkerPlugin extends Plugin
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Remove any points on the same tile but are of a different color.
|
// Remove any points on the same tile but are of a different color
|
||||||
// Add a new point if no tile was removed, or if remembering tile colors is enabled, which means the marked
|
points.removeIf(p -> p.sameTile(point));
|
||||||
// tile was previously of a different color than the new tile marking.
|
|
||||||
if (!points.removeIf(p -> p.sameTile(point)) || config.rememberTileColors())
|
// Add point back only if we are remembering tile colors, otherwise simply remove it
|
||||||
|
if (config.rememberTileColors())
|
||||||
{
|
{
|
||||||
points.add(point);
|
points.add(point);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user