mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-11 18:27:36 +00:00
Fixed an issue where an entity could fail to spawn, and this would end the edit
This commit is contained in:
parent
61cba3ce07
commit
124308c4ce
@ -68,7 +68,7 @@ public class ChangeSetExtent extends AbstractDelegateExtent {
|
||||
@Override
|
||||
public Entity createEntity(Location location, BaseEntity state) {
|
||||
Entity entity = super.createEntity(location, state);
|
||||
if (state != null) {
|
||||
if (entity != null) {
|
||||
changeSet.add(new EntityCreate(location, state, entity));
|
||||
}
|
||||
return entity;
|
||||
|
Loading…
Reference in New Issue
Block a user