Revert Extent.createEntity() taking a Vector.

This commit is contained in:
sk89q
2014-07-10 14:50:40 -07:00
parent d50cd89005
commit c564278dd6
9 changed files with 21 additions and 21 deletions

View File

@ -33,6 +33,7 @@ import com.sk89q.worldedit.blocks.LazyBlock;
import com.sk89q.worldedit.entity.BaseEntity;
import com.sk89q.worldedit.entity.Entity;
import com.sk89q.worldedit.regions.Region;
import com.sk89q.worldedit.util.Location;
import com.sk89q.worldedit.util.TreeGenerator.TreeType;
import com.sk89q.worldedit.world.AbstractWorld;
import com.sk89q.worldedit.world.registry.LegacyWorldData;
@ -509,7 +510,7 @@ public class ForgeWorld extends AbstractWorld {
@Nullable
@Override
public Entity createEntity(Vector position, BaseEntity entity) {
public Entity createEntity(Location location, BaseEntity entity) {
World world = getWorld();
net.minecraft.entity.Entity createdEntity = EntityList.createEntityByName(entity.getTypeId(), world);
if (createdEntity != null) {