Fix missing blocks in schematic bug

This commit is contained in:
Daniel Mills
2020-01-19 07:23:17 -05:00
parent 2ea1bd5e67
commit ace5abea23
2 changed files with 8 additions and 5 deletions

View File

@@ -476,12 +476,10 @@ public class GenObject
MB a = MB.of(g[1]);
boolean specific = g[1].contains(":");
MB b = MB.of(g[2]);
GMap<SBlockVector, MB> m = new GMap<>();
m.putAll(s);
s.clear();
for(SBlockVector i : m.keySet())
for(SBlockVector i : s.k())
{
MB c = m.get(i);
MB c = s.get(i);
if((specific && c.equals(a)) || c.material.equals(a.material))
{