mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix missing blocks in schematic bug
This commit is contained in:
parent
2ea1bd5e67
commit
ace5abea23
@ -254,6 +254,11 @@ public class WandController implements IrisController
|
||||
|
||||
p.sendMessage(C.GRAY + "Var: " + C.DARK_AQUA + F.f(g.getSuccesses()) + C.GRAY + " of " + C.AQUA + F.f(g.getPlaces()) + C.GRAY + " placements (" + C.DARK_AQUA + F.pc(g.getSuccess(), 0) + C.GRAY + ")");
|
||||
|
||||
for(String i : ggg.getFlags())
|
||||
{
|
||||
p.sendMessage(C.GRAY + "- " + C.DARK_PURPLE + i);
|
||||
}
|
||||
|
||||
draw(new Location[] {point.clone().add(g.getW() / 2, g.getH() / 2, g.getD() / 2), point.clone().subtract(g.getW() / 2, g.getH() / 2, g.getD() / 2)
|
||||
}, p);
|
||||
}
|
||||
|
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user