mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 13:45:36 +01:00
Check the entity as well
This commit is contained in:
parent
7cfb33dd3b
commit
48cb23d04f
@ -152,7 +152,7 @@ public class HistoryExtent extends AbstractDelegateExtent {
|
||||
@Override
|
||||
public Entity createEntity(final Location location, final BaseEntity state) {
|
||||
final Entity entity = super.createEntity(location, state);
|
||||
if (state != null) {
|
||||
if (state != null && entity != null) {
|
||||
changeSet.add(new EntityCreate(location, state, entity));
|
||||
}
|
||||
return entity;
|
||||
|
Loading…
Reference in New Issue
Block a user