From f50d887da5d058e5d3372947e2b322e372cc5e27 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 22 Apr 2024 15:21:47 +0200 Subject: [PATCH] Hotfix TraceEntity 2.0? --- .../bausystem/features/tracer/rendering/TraceEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/rendering/TraceEntity.java b/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/rendering/TraceEntity.java index fbc8538a..090f3026 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/rendering/TraceEntity.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/rendering/TraceEntity.java @@ -63,7 +63,7 @@ public class TraceEntity extends REntity { this.records = records; this.trace = trace; uniqueTntIdsString = records.stream().map(TNTPoint::getTntId).distinct().map(Object::toString).collect(Collectors.joining(" ")); - addEntityMethod.invoke(server, this); + addEntityMethod.invoke(server, (REntity) this); setNoGravity(true); }