Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-19 17:30:08 +01:00
chore: don't hold a lazyreference (seems harder to gc with already computed value?)
Dieser Commit ist enthalten in:
Ursprung
60cc4244e3
Commit
8de3172941
@ -309,7 +309,7 @@ public class FastSchematicReaderV3 implements ClipboardReader {
|
|||||||
LOGGER.warn("Failed to fix-up entity for {} @ {},{},{} - skipping", id, pos.x(), pos.y(), pos.z());
|
LOGGER.warn("Failed to fix-up entity for {} @ {},{},{} - skipping", id, pos.x(), pos.y(), pos.z());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (target.createEntity(new Location(target, pos), new BaseEntity(entityType, LazyReference.computed(tag))) == null) {
|
if (target.createEntity(new Location(target, pos), new BaseEntity(entityType, new CompoundTag(tag))) == null) {
|
||||||
LOGGER.warn("Failed to create entity - does the clipboard support entities?");
|
LOGGER.warn("Failed to create entity - does the clipboard support entities?");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren