Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 02:50:05 +01:00
remove entity properly
Dieser Commit ist enthalten in:
Ursprung
9b95343601
Commit
1097ac7889
@ -155,9 +155,10 @@ public class ExtentEntityCopy implements EntityFunction {
|
||||
uuid = new UUID(tag.getLong("PersistentIDMSB"), tag.getLong("PersistentIDLSB"));
|
||||
}
|
||||
if (uuid != null) {
|
||||
Extent src = source != null ? source : entity.getExtent();
|
||||
if (src != null) {
|
||||
src.removeEntity(entity.getLocation().getBlockX(), entity.getLocation().getBlockY(), entity.getLocation().getBlockZ(), uuid);
|
||||
if (source != null) {
|
||||
source.removeEntity(entity.getLocation().getBlockX(), entity.getLocation().getBlockY(), entity.getLocation().getBlockZ(), uuid);
|
||||
} else {
|
||||
entity.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren