Hotfix (FA)WE Selection 1.20+

This commit is contained in:
2025-11-07 22:13:31 +01:00
parent cac0ae3e13
commit ee99708340
2 changed files with 3 additions and 1 deletions
@@ -63,7 +63,9 @@ public class CLine extends CEntity {
if (Objects.equals(from, this.from) && Objects.equals(to, this.to)) return this;
this.from = from;
this.to = to;
hide(true);
tick();
hide(false);
return this;
}
@@ -82,7 +82,7 @@ public class CWireframe extends CEntity {
private void updateAndSpawnLines() {
List<CLine> lines = getEntitiesByType(CLine.class);
if (pos1 == null || pos2 == null) {
lines.forEach(line -> line.setFrom(null).setTo(null));
lines.forEach(line -> line.setFromAndTo(null, null));
return;
}