L2Spawn spawn = new L2Spawn(template1);
spawn.setId(IdFactory.getInstance().getNextId());
spawn.setLocx(activeChar.getX());
spawn.setLocy(activeChar.getY());
spawn.setLocz(activeChar.getZ());
_gourd = (L2GourdInstance) spawn.spawnOne();
L2World.getInstance().storeObject(_gourd);
_gourd.setOwner(activeChar.getName());
activeChar.destroyItem("Consume", item.getObjectId(), 1, null, false);
SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
sm.addString("Created " + template1.name + " at x: " + spawn.getLocx() + " y: " + spawn.getLocy() + " z: " + spawn.getLocz());